Fix recently-broken admin interface buttons (#32240)
This commit is contained in:
parent
cc8d723e71
commit
4c0e44ebbe
11 changed files with 27 additions and 31 deletions
|
@ -46,7 +46,7 @@
|
|||
%p.muted-hint= t('exports.archive_takeout.hint_html')
|
||||
|
||||
- if policy(:backup).create?
|
||||
%p= button_to t('exports.archive_takeout.request'), settings_export_path, class: :button
|
||||
%p= link_to t('exports.archive_takeout.request'), settings_export_path, class: 'button', method: :post
|
||||
|
||||
- unless @backups.empty?
|
||||
%hr.spacer/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue