edit.html.haml 431 B

1234567891011121314
  1. - content_for :page_title do
  2. = t('admin.warning_presets.edit_preset')
  3. = simple_form_for @warning_preset, url: admin_warning_preset_path(@warning_preset) do |f|
  4. = render 'shared/error_messages', object: @warning_preset
  5. .fields-group
  6. = f.input :title, wrapper: :with_block_label
  7. .fields-group
  8. = f.input :text, wrapper: :with_block_label
  9. .actions
  10. = f.button :button, t('generic.save_changes'), type: :submit