Skip to content

Commit

Permalink
suppress lines
Browse files Browse the repository at this point in the history
* update net-imap
  • Loading branch information
ryanwoldatwork committed Oct 20, 2023
1 parent 5424626 commit 6f45eda
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions app/views/components/forms/_custom_layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div class="grid-row">
<div class="grid-col-12">
<h2 class="justify-vertical word-break">
<% 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 %>
Expand All @@ -15,7 +15,7 @@
<%= sanitize(form.instructions) %>
</p>
<% end %>
<% if form.questions.any?(&:is_required?) %>
<%- if form.questions.any?(&:is_required?) %>
<p>
<%= t('form.required_field_html') %>
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
<div class="radio-button usa-radio"
id="<%= question.id %>_<%= question.answer_field %>_<%= option[:text] %>"
data-id="<%= question.id %>_<%= question.answer_field %>_<%= option[:text] %>"
<% if question.help_text.present? %>
<%- 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 %>
<svg class="usa-icon margin-top-2" aria-hidden="true" focusable="false" role="img">
<use xlink:href="<%= asset_path "sprite.svg#thumb_up_alt" %>"></use>
</svg>
Expand Down

0 comments on commit 6f45eda

Please sign in to comment.