This commit is contained in:
Pete Matsyburka
2024-09-28 01:21:35 +03:00
committed by Oleksandr Turchyn
parent c7b08e8d30
commit 37bb987e3e
14 changed files with 90 additions and 42 deletions
+6
View File
@@ -56,6 +56,12 @@
<%= ff.text_field :value, required: true, class: 'base-input' %>
</div>
<% end %>
<%= fields_for @account do |ff| %>
<div class="form-control">
<%= ff.label :locale, t('language'), class: 'label' %>
<%= ff.select :locale, options_for_select(AccountsController::LOCALE_OPTIONS.invert, @account.locale), {}, class: 'base-select' %>
</div>
<% end %>
</div>
<div class="form-control">
<%= f.button button_title, class: 'base-button' %>