<% locked = AccountConfig.locked_by_env?(AccountConfig::EMAIL_FOOTER_MESSAGE_KEY) %> <%= form_for config, url: settings_notifications_path, method: :post, html: { autocomplete: 'off', class: 'space-y-4' } do |f| %> <%= f.hidden_field :key %>
<%= f.label :value, class: 'label' do %> <%= t('email_footer_message') %> <%= svg_icon('info_circle', class: 'w-4 h-4') %> <% end %> <%= f.text_area :value, class: 'base-input w-full py-2', rows: 3, disabled: locked, dir: 'auto' %> <% if locked %> <% end %>
<% unless locked %>
<%= f.button button_title(title: t('save'), disabled_with: t('updating')), class: 'base-button' %>
<% end %> <% end %>