Remove instance variables from helper usage (#24203)
This commit is contained in:
parent
e1b4eeb636
commit
0a5f0a8b20
19 changed files with 53 additions and 45 deletions
|
@ -2,7 +2,7 @@
|
|||
= t('auth.register')
|
||||
|
||||
- content_for :header_tags do
|
||||
= render partial: 'shared/og', locals: { description: description_for_sign_up }
|
||||
= render partial: 'shared/og', locals: { description: description_for_sign_up(@invite) }
|
||||
|
||||
= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { novalidate: false }) do |f|
|
||||
= render 'auth/shared/progress', stage: 'details'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
= t('auth.register')
|
||||
|
||||
- content_for :header_tags do
|
||||
= render partial: 'shared/og', locals: { description: description_for_sign_up }
|
||||
= render partial: 'shared/og', locals: { description: description_for_sign_up(@invite) }
|
||||
|
||||
.simple_form
|
||||
= render 'auth/shared/progress', stage: 'rules'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue