Remove instance variables from helper usage (#24203)
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user