Fix haml-lint InstanceVariables rule for admin/roles/_form (#26063)
This commit is contained in:
parent
f9eefb2785
commit
89a17878ef
4 changed files with 36 additions and 35 deletions
|
|
@ -4,4 +4,7 @@
|
|||
- content_for :heading_actions do
|
||||
= link_to t('admin.roles.delete'), admin_role_path(@role), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button button--destructive' if can?(:destroy, @role)
|
||||
|
||||
= render partial: 'form'
|
||||
= simple_form_for @role, url: admin_role_path(@role) do |form|
|
||||
= render partial: 'form', object: form
|
||||
.actions
|
||||
= form.button :button, t('generic.save_changes'), type: :submit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue