catstodon/app/views/admin/announcements/edit.html.haml

12 lines
353 B
Text

- content_for :page_title do
= t('.title')
= simple_form_for @announcement, url: admin_announcement_path(@announcement), html: { novalidate: false } do |form|
= render 'shared/error_messages', object: @announcement
= render form
.actions
= form.button :button,
t('generic.save_changes'),
type: :submit