original_string: public function showEditMetricAction(Metric $metric)
      {
          return View::make('dashboard.metrics.edit')
              ->withPageTitle(trans('dashboard.metrics.edit.title').' - '.trans('dashboard.dashboard'))
              ->withMetric($metric)
              ->withAcceptableThresholds(Metric::ACCEPTABLE_THRESHOLDS);
      }
code: public function showEditMetricAction(Metric $metric)
      {
          return View::make('dashboard.metrics.edit')
              ->withPageTitle(trans('dashboard.metrics.edit.title').' - '.trans('dashboard.dashboard'))
              ->withMetric($metric)
              ->withAcceptableThresholds(Metric::ACCEPTABLE_THRESHOLDS);
      }
code_tokens: public function showEditMetricAction ( Metric $ metric ) { return View :: make ( 'dashboard.metrics.edit' ) -> withPageTitle ( trans ( 'dashboard.metrics.edit.title' ) . ' - ' . trans ( 'dashboard.dashboard' ) ) -> withMetric ( $ metric ) -> withAcceptableThresholds ( Metric :: ACCEPTABLE_THRESHOLDS ) ; }
docstring: Shows the edit metric view.
  
  @param \CachetHQ\Cachet\Models\Metric $metric
  
  @return \Illuminate\View\View
docstring_tokens: Shows the edit metric view .