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

11 lines
266 B
Plaintext

- 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