diff --git a/app/views/accounts/new.html.erb b/app/views/accounts/new.html.erb index 9fe5f3fe..d5d41d50 100644 --- a/app/views/accounts/new.html.erb +++ b/app/views/accounts/new.html.erb @@ -72,7 +72,7 @@
<%= f.hidden_field :accountable_type %> - <%= f.text_field :name, placeholder: 'Example account name', required: 'required', label: 'Account name', autofocus: true %> + <%= f.text_field :name, placeholder: t('accounts.new.name.placeholder'), required: 'required', label: t('accounts.new.name.label'), autofocus: true %> <%= render "accounts/#{permitted_accountable_partial(@account.accountable_type)}", f: f %> diff --git a/config/locales/views/account/en.yml b/config/locales/views/account/en.yml index 72c9164c..d4fe9635 100644 --- a/config/locales/views/account/en.yml +++ b/config/locales/views/account/en.yml @@ -8,3 +8,6 @@ en: new: select_accountable_type: What would you like to add? title: Add an account + name: + label: Account name + placeholder: Example account name