mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Use default action of persisted records on edit forms (#35904)
This commit is contained in:
parent
3c17ccab37
commit
4738a18e52
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
- content_for :page_title do
|
||||
= t('admin.domain_blocks.edit')
|
||||
|
||||
= simple_form_for @domain_block, url: admin_domain_block_path(@domain_block), method: :put do |form|
|
||||
= simple_form_for @domain_block, url: admin_domain_block_path(@domain_block) do |form|
|
||||
= render 'shared/error_messages', object: @domain_block
|
||||
|
||||
= render form
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
- content_for :page_title do
|
||||
= t('filters.edit.title')
|
||||
|
||||
= simple_form_for @filter, url: filter_path(@filter), method: :put do |f|
|
||||
= simple_form_for @filter, url: filter_path(@filter) do |f|
|
||||
= render 'filter_fields', f: f
|
||||
|
||||
.actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue