Add titles to all public-facing views
This commit is contained in:
parent
69649dd049
commit
94a47f48bf
|
@ -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
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title) { "#{t :change_pass}" }
|
||||
- content_for(:title) { t :change_pass }
|
||||
|
||||
h2.entry-title = t :change_pass
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title) { "#{t :lostpass}" }
|
||||
- content_for(:title) { t :lostpass }
|
||||
|
||||
h2.entry-title = t :lostpass
|
||||
|
||||
|
|
|
@ -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|
|
||||
.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
|
||||
h3.entry-title = t :login_data
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title) { "#{t :registration}" }
|
||||
- content_for(:title) { t :registration }
|
||||
|
||||
h2.entry-title = t :registration
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
- content_for(:title) { "#{t :login}" }
|
||||
- content_for(:title) { t :login }
|
||||
|
||||
h2.entry-title = t :login
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
= render 'form'
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
- content_for(:title) { t 'views.navigation.my_submissions' }
|
||||
|
||||
h1.entry-title = t 'views.navigation.my_submissions'
|
||||
|
||||
ul.my_submissions
|
||||
|
|
|
@ -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)
|
||||
|
||||
= render 'form'
|
||||
|
|
Loading…
Reference in New Issue