From ce058128ac59ab20fc319504c8806bb51ea5bd25 Mon Sep 17 00:00:00 2001 From: Ryan Wold Date: Wed, 27 Sep 2023 22:12:46 -0700 Subject: [PATCH] move translation text --- app/views/components/forms/_custom_layout.html.erb | 2 +- app/views/components/widget/_no_modal.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 %>