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

13 lines
353 B
Plaintext

- 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