Fixed missing translation on register page
* Fixed missing translation for registration page title * Update conferences_controller.rb
This commit is contained in:
parent
f967bac84c
commit
b2cb7e8c1f
@ -531,6 +531,7 @@ class ConferencesController < ApplicationController
|
|||||||
|
|
||||||
@is_host = @this_conference.host? current_user
|
@is_host = @this_conference.host? current_user
|
||||||
else
|
else
|
||||||
|
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||||
@register_template = :confirm_email
|
@register_template = :confirm_email
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
%article
|
|
||||||
= columns(medium: 12) do
|
= columns(medium: 12) do
|
||||||
%h2=_"articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
|
||||||
%p=_"articles.conference_registration.paragraphs.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
%p=_"articles.conference_registration.paragraphs.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
|
||||||
%h3=_'articles.conference_registration.headings.Verify_Account'
|
%h3=_'articles.conference_registration.headings.Verify_Account'
|
||||||
%p=_'articles.conference_registration.paragraphs.Verify_Account'
|
%p=_'articles.conference_registration.paragraphs.Verify_Account'
|
||||||
= columns(medium: 12) do
|
|
||||||
= form_tag register_path(@this_conference.slug), class: 'flex-form' do
|
= form_tag register_path(@this_conference.slug), class: 'flex-form' do
|
||||||
.email-field.input-field.big
|
.email-field.input-field.big
|
||||||
= email_field_tag :email, nil, required: true
|
= email_field_tag :email, nil, required: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user