Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
elceebee committed Dec 3, 2024
1 parent ca09610 commit b2b6bba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/views/candidate_interface/compare_tests/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
'View tone of voice test results',
support_interface_field_test_engine_path,
method: :get,
) %>
) %>
6 changes: 3 additions & 3 deletions app/views/candidate_interface/compare_tests/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
'Click it, now.',
candidate_interface_compare_tests_path,
method: :post,
) %>
) %>

<% elsif @tone_of_voice == 'straightforward' %>
<%= govuk_button_to(
'Click the button',
candidate_interface_compare_tests_path,
method: :post,
) %>
) %>
<% elsif @tone_of_voice == 'apologetic' %>
<p class="govuk-body">
Sorry for bothering you. If it isn't too much trouble, please click the button.
Expand All @@ -23,5 +23,5 @@
'Please click me',
candidate_interface_compare_tests_path,
method: :post,
) %>
) %>
<% end %>
2 changes: 1 addition & 1 deletion config/routes/candidate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
end
end

resources :compare_tests, only: %i[new index create]
resources :compare_tests, only: %i[new index create], path: 'compare-tests'

get '/account-locked', to: 'errors#account_locked'

Expand Down

0 comments on commit b2b6bba

Please sign in to comment.