mastodon/app/views/admin/rules/edit.html.haml

10 lines
266 B
Text

- content_for :page_title do
= t('admin.rules.edit')
= simple_form_for @rule, url: admin_rule_path(@rule) do |form|
= render 'shared/error_messages', object: @rule
= render form
.actions
= form.button :button, t('generic.save_changes'), type: :submit