app/helpers/projects_helper.rb
# Use the status_chooser to render the given criterion.
# rubocop:disable Metrics/ParameterLists
Use the status_chooser to render the given criterion.
Use the status_chooser to render the given criterion .
def render_status(
    criterion, f, project, criteria_level, is_disabled, is_last = false
  )
    render(
      partial: 'status_chooser',
      locals: {
        f: f, project: project, criteria_level: criteria_level,
        is_disabled: is_disabled, is_last: is_last,
        criterion: Criteria[criteria_level][criterion.to_sym]
      }
    )
  end
def render_status ( criterion , f , project , criteria_level , is_disabled , is_last = false ) render ( partial : 'status_chooser' , locals : { f : f , project : project , criteria_level : criteria_level , is_disabled : is_disabled , is_last : is_last , criterion : Criteria [ criteria_level ] [ criterion . to_sym ] } ) end
Use the status_chooser to render the given criterion.
Use the status_chooser to render the given criterion .
criterion
<not_specific>
f
<not_specific>
project
<not_specific>
criteria_level
<not_specific>
is_disabled
<not_specific>
is_last
<not_specific>