mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-24 12:04:54 +01:00
Use shorter render
call in admin/webhooks
view (#30071)
This commit is contained in:
parent
bbf1b603e0
commit
2739d8d5a4
@ -2,6 +2,6 @@
|
||||
= t('admin.webhooks.edit')
|
||||
|
||||
= simple_form_for @webhook, url: admin_webhook_path(@webhook) do |form|
|
||||
= render partial: 'form', object: form
|
||||
= render form
|
||||
.actions
|
||||
= form.button :button, t('generic.save_changes'), type: :submit
|
||||
|
@ -2,6 +2,6 @@
|
||||
= t('admin.webhooks.new')
|
||||
|
||||
= simple_form_for @webhook, url: admin_webhooks_path do |form|
|
||||
= render partial: 'form', object: form
|
||||
= render form
|
||||
.actions
|
||||
= form.button :button, t('admin.webhooks.add_new'), type: :submit
|
||||
|
Loading…
Reference in New Issue
Block a user