Add titles to all public-facing views

This commit is contained in:
Petko Bordjukov 2015-08-20 00:50:35 +03:00
parent 69649dd049
commit 94a47f48bf
9 changed files with 12 additions and 11 deletions

View File

@ -1,4 +1,4 @@
- content_for(:title) { "#{t :resend_instructions_header}" } - content_for(:title) { t :resend_instructions_header }
h2.entry-title = t :resend_instructions_header h2.entry-title = t :resend_instructions_header

View File

@ -1,4 +1,4 @@
- content_for(:title) { "#{t :change_pass}" } - content_for(:title) { t :change_pass }
h2.entry-title = t :change_pass h2.entry-title = t :change_pass

View File

@ -1,4 +1,4 @@
- content_for(:title) { "#{t :lostpass}" } - content_for(:title) { t :lostpass }
h2.entry-title = t :lostpass h2.entry-title = t :lostpass

View File

@ -1,12 +1,7 @@
- content_for(:title) { t :edit_speaker_profile } - content_for(:title) { t :login_data }
= simple_form_for(resource, wrapper: :default, as: resource_name, url: registration_path(resource_name), html: { method: :put, multipart: true }) do |f| = simple_form_for(resource, wrapper: :default, as: resource_name, url: registration_path(resource_name), html: { method: :put, multipart: true }) do |f|
.form_inputs .form_inputs
/ h2
/ - if current_user.personal_profile(current_conference).present?
/ = link_to t(:personal_profile), edit_personal_profile_path
/ - else
/ = link_to t(:personal_profile), new_personal_profile_path
.form-inputs .form-inputs
h3.entry-title = t :login_data h3.entry-title = t :login_data

View File

@ -1,4 +1,4 @@
- content_for(:title) { "#{t :registration}" } - content_for(:title) { t :registration }
h2.entry-title = t :registration h2.entry-title = t :registration

View File

@ -1,4 +1,4 @@
- content_for(:title) { "#{t :login}" } - content_for(:title) { t :login }
h2.entry-title = t :login h2.entry-title = t :login

View File

@ -1,3 +1,5 @@
- content_for(:title) { t 'views.events.edit_event', event_type: @event.event_type.name.mb_chars.downcase, title: @event.title }
h2= t('views.events.edit_event', event_type: @event.event_type.name.mb_chars.downcase, title: @event.title) h2= t('views.events.edit_event', event_type: @event.event_type.name.mb_chars.downcase, title: @event.title)
= render 'form' = render 'form'

View File

@ -1,3 +1,5 @@
- content_for(:title) { t 'views.navigation.my_submissions' }
h1.entry-title = t 'views.navigation.my_submissions' h1.entry-title = t 'views.navigation.my_submissions'
ul.my_submissions ul.my_submissions

View File

@ -1,3 +1,5 @@
- content_for(:title) { t 'views.events.submit_event', event_type: @event.event_type.name.mb_chars.downcase }
h2= t('views.events.submit_event', event_type: @event.event_type.name.mb_chars.downcase) h2= t('views.events.submit_event', event_type: @event.event_type.name.mb_chars.downcase)
= render 'form' = render 'form'