Skip to content

Commit

Permalink
pc area type error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCouzens committed Aug 20, 2024
1 parent 0d0db54 commit b807010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/report_design_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/views/report_design/select_pc_area.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

0 comments on commit b807010

Please sign in to comment.