Browse Source

Fixed missing translation on register page

* Fixed missing translation for registration page title

* Update conferences_controller.rb
development
Godwin 9 years ago
committed by GitHub
parent
commit
b2cb7e8c1f
  1. 1
      app/controllers/conferences_controller.rb
  2. 4
      app/views/conferences/_confirm_email.html.haml

1
app/controllers/conferences_controller.rb

@ -531,6 +531,7 @@ class ConferencesController < ApplicationController
@is_host = @this_conference.host? current_user
else
@page_title = "articles.conference_registration.headings.#{@this_conference.registration_status == :open ? '': 'Pre_'}Registration_Details"
@register_template = :confirm_email
end

4
app/views/conferences/_confirm_email.html.haml

@ -1,10 +1,8 @@
%article
= 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"
%h3=_'articles.conference_registration.headings.Verify_Account'
%p=_'articles.conference_registration.paragraphs.Verify_Account'
= columns(medium: 12) do
= form_tag register_path(@this_conference.slug), class: 'flex-form' do
.email-field.input-field.big
= email_field_tag :email, nil, required: true

Loading…
Cancel
Save