1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-14 22:59:46 +09:00
YuruToot/app/views/admin/announcements/new.html.haml

13 lines
326 B
Plaintext

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