Fix haml-lint InstanceVariables rule for admin/roles/_form (#26063)

This commit is contained in:
Matt Jankowski 2023-09-28 10:36:24 -04:00 committed by GitHub
commit 89a17878ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 35 deletions

View file

@ -1,4 +1,7 @@
- content_for :page_title do
= t('admin.roles.add_new')
= render partial: 'form'
= simple_form_for @role, url: admin_roles_path do |form|
= render partial: 'form', object: form
.actions
= form.button :button, t('admin.roles.add_new'), type: :submit