Skip to content

Commit

Permalink
Use heading_level param instead of is_page_heading
Browse files Browse the repository at this point in the history
Simple smart answers use the radio component with the is_page_heading
parameter. Some changes are being made to remove the is_page_heading
parameter, and achieve the same result using heading_level and/or
heading_size instead.
  • Loading branch information
danacotoran committed May 7, 2021
1 parent 538e5fa commit 3aa0402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/simple_smart_answers/_current_question.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
heading_caption: @publication.title,
heading_size: "l",
heading: "#{@flow_state.current_question_number}. #{question.title}",
is_page_heading: true,
heading_level: 1,
name: "response",
items: question.options.map do |option|
{
Expand Down

0 comments on commit 3aa0402

Please sign in to comment.