diff --git a/app/views/components/forms/_custom_layout.html.erb b/app/views/components/forms/_custom_layout.html.erb index 2ca7103a7..aef0200be 100644 --- a/app/views/components/forms/_custom_layout.html.erb +++ b/app/views/components/forms/_custom_layout.html.erb @@ -16,7 +16,7 @@
<% end %>- <%= t :required_text_html %> + <%= t('form.required_field_html') %>
<%= render 'components/forms/flash', form: form %> <%= render partial: "components/forms/custom", locals: { form: form, questions: form.questions } %> diff --git a/app/views/components/widget/_no_modal.html.erb b/app/views/components/widget/_no_modal.html.erb index 7c3151907..6db2cf33c 100644 --- a/app/views/components/widget/_no_modal.html.erb +++ b/app/views/components/widget/_no_modal.html.erb @@ -16,7 +16,7 @@ type="button" href="#" aria-label="Close this window">× - <% end %> + <% end -%> <% if form.instructions? %>@@ -25,7 +25,7 @@ <% end -%>
- <%= t :required_field_html %> + <%= t('form.required_field_html') %>
<%= render 'components/forms/flash', form: form %>