mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-15 00:38:15 +00:00
Use namespace style in admin area announcement form
This commit is contained in:
parent
5a7c0d42f7
commit
014df13266
|
@ -1,7 +1,7 @@
|
|||
- content_for :page_title do
|
||||
= t('.title')
|
||||
|
||||
= simple_form_for @announcement, url: admin_announcements_path, html: { novalidate: false } do |form|
|
||||
= simple_form_for [:admin, @announcement], html: { novalidate: false } do |form|
|
||||
= render 'shared/error_messages', object: @announcement
|
||||
|
||||
= render form
|
||||
|
|
Loading…
Reference in New Issue
Block a user