diff --git a/Gemfile.lock b/Gemfile.lock index 2f45f1da3..a0849b69b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -285,7 +285,7 @@ GEM multi_json (1.15.0) multi_xml (0.6.0) multipart-post (2.3.0) - net-imap (0.4.1) + net-imap (0.4.2) date net-protocol net-pop (0.1.2) diff --git a/app/views/components/forms/_custom_layout.html.erb b/app/views/components/forms/_custom_layout.html.erb index c3456c221..7056cc294 100644 --- a/app/views/components/forms/_custom_layout.html.erb +++ b/app/views/components/forms/_custom_layout.html.erb @@ -2,10 +2,10 @@

- <% if form.display_header_logo && form.logo.present? %> + <%- if form.display_header_logo && form.logo.present? %> <%= image_tag(form.logo.tag.url, alt: "Organization logo", class: "form-header-logo") %> <% end %> - <% if form.display_header_square_logo && form.logo.present? %> + <%- if form.display_header_square_logo && form.logo.present? %> <%= image_tag(form.logo.logo_square.url, alt: "Organization logo", class: "form-header-logo-square") %> <% end %> <%= form.title %> @@ -15,7 +15,7 @@ <%= sanitize(form.instructions) %>

<% end %> - <% if form.questions.any?(&:is_required?) %> + <%- if form.questions.any?(&:is_required?) %>

<%= t('form.required_field_html') %>

diff --git a/app/views/components/forms/question_types/_big_thumbs_up_down_buttons.html.erb b/app/views/components/forms/question_types/_big_thumbs_up_down_buttons.html.erb index 2f6a11da2..1e5ab14eb 100644 --- a/app/views/components/forms/question_types/_big_thumbs_up_down_buttons.html.erb +++ b/app/views/components/forms/question_types/_big_thumbs_up_down_buttons.html.erb @@ -13,13 +13,13 @@
+ <%- if question.help_text.present? %> aria-describedby="<%= "question-id-#{question.id}-help-text" %>" <% end %> > <%= radio_button_tag(option_id, option[:value], nil, { id: option_id, name: question.answer_field, class: "usa-radio__input usa-radio__input--tile", required: question.is_required }) %> <%= label_tag(option_id, nil, class: "usa-radio__label font-sans-3xl text-center") do %> - <% if option[:value] == 1 %> + <%- if option[:value] == 1 %>