edit.html.haml 308 B

1234567891011
  1. - content_for :page_title do
  2. = t('admin.rules.edit')
  3. = simple_form_for @rule, url: admin_rule_path(@rule) do |f|
  4. = render 'shared/error_messages', object: @rule
  5. .fields-group
  6. = f.input :text, wrapper: :with_block_label
  7. .actions
  8. = f.button :button, t('generic.save_changes'), type: :submit