diff --git a/app/helpers/report_design_helper.rb b/app/helpers/report_design_helper.rb index c9a9130..509c100 100644 --- a/app/helpers/report_design_helper.rb +++ b/app/helpers/report_design_helper.rb @@ -2,7 +2,7 @@ # :nodoc: module ReportDesignHelper # rubocop:disable Metrics/ModuleLength - def workflow_step_form(workflow) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize + def workflow_step_form(workflow, pc_type) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize step = workflow.current_step form_tag(workflow.form_action, method: 'get') do diff --git a/app/views/report_design/select_pc_area.html.haml b/app/views/report_design/select_pc_area.html.haml index 2c976e9..cd54ebe 100644 --- a/app/views/report_design/select_pc_area.html.haml +++ b/app/views/report_design/select_pc_area.html.haml @@ -12,4 +12,4 @@ the first one or two letters of a UK postcode, for example "B" or "TA" - = workflow_step_form( @workflow ) + = workflow_step_form( @workflow, "pc_area" )