Tidy up some text around logins and proposals
This commit is contained in:
parent
7d8245fa68
commit
ce3f9e422a
4 changed files with 25 additions and 19 deletions
|
|
@ -5,7 +5,8 @@
|
||||||
= link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg",
|
= link_to "user_#{provider}_omniauth_authorize".to_sym, class: "btn btn-success btn-lg",
|
||||||
id: "omniauth-#{provider}",
|
id: "omniauth-#{provider}",
|
||||||
title: "Your #{provider} login" do
|
title: "Your #{provider} login" do
|
||||||
%i{class: "fa fa-#{provider}"}
|
-# %i{class: "fa fa-#{provider}"}
|
||||||
|
= provider.capitalize
|
||||||
- else
|
- else
|
||||||
= link_to("user_#{provider}_omniauth_authorize".to_sym,
|
= link_to("user_#{provider}_omniauth_authorize".to_sym,
|
||||||
class: "btn btn-success btn-lg",
|
class: "btn btn-success btn-lg",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,8 @@
|
||||||
- unless current_user
|
- unless current_user
|
||||||
|
%p
|
||||||
|
%strong Create an account directly for Snap!Con, or sign in using Google.
|
||||||
|
%p
|
||||||
|
Snap!Con uses a different account system, but please use the same username or email address if possible. (We're working on improving this!)
|
||||||
= semantic_fields_for @user do |u|
|
= semantic_fields_for @user do |u|
|
||||||
= u.input :username, input_html: { required: 'required', autocomplete: 'off' }
|
= u.input :username, input_html: { required: 'required', autocomplete: 'off' }
|
||||||
= u.input :email, input_html: { required: 'required', autocomplete: 'off' }
|
= u.input :email, input_html: { required: 'required', autocomplete: 'off' }
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
= "#{pluralize(@program.tracks.confirmed.cfp_active.count, 'track')}:"
|
= "#{pluralize(@program.tracks.confirmed.cfp_active.count, 'track')}:"
|
||||||
= "#{tracks(@conference)}."
|
= "#{tracks(@conference)}."
|
||||||
- if @program.cfp_open?
|
- if @program.cfp_open?
|
||||||
The submission period has begun
|
The submission period is open from
|
||||||
%em.notranslate
|
%em.notranslate
|
||||||
= @program.cfp.start_date.strftime('%A, %B %-d. %Y')
|
= @program.cfp.start_date.strftime('%A, %B %-d. %Y')
|
||||||
and closes
|
and closes
|
||||||
|
|
@ -16,9 +16,7 @@
|
||||||
That means you have
|
That means you have
|
||||||
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
|
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
|
||||||
left!
|
left!
|
||||||
Remember
|
%span.notranslate #{@conference.title}
|
||||||
%span.notranslate
|
|
||||||
= @conference.title
|
|
||||||
will only be as good as the content you present. Submit early, submit often!
|
will only be as good as the content you present. Submit early, submit often!
|
||||||
-else
|
- else
|
||||||
The submission period is closed now.
|
The submission period is closed now.
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.page-header
|
.page-header
|
||||||
%h1 New Proposal
|
%h1 New #{@conference.title} Proposal
|
||||||
- if @program.cfp_open?
|
- if @program.cfp_open?
|
||||||
- if @program.cfp.description.present?
|
- if @program.cfp.description.present?
|
||||||
.row
|
.row
|
||||||
|
|
@ -16,12 +16,12 @@
|
||||||
- unless current_user
|
- unless current_user
|
||||||
%legend
|
%legend
|
||||||
%span
|
%span
|
||||||
=link_to('#signup', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
= link_to('#signup', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||||
= ENV['OSEM_NAME'] || 'OSEM'
|
Create a Snap!Con Account
|
||||||
Account
|
|
||||||
%span.pull-right#account-already
|
%span.pull-right#account-already
|
||||||
=link_to('#signin', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
= link_to('#signin', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||||
Already have an account?
|
Already have a Snap!Con account?
|
||||||
.tab-content
|
.tab-content
|
||||||
.tab-pane.active{role: 'tabpanel', id: 'signup'}
|
.tab-pane.active{role: 'tabpanel', id: 'signup'}
|
||||||
|
|
||||||
|
|
@ -36,22 +36,24 @@
|
||||||
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]},
|
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]},
|
||||||
include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' }
|
include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' }
|
||||||
|
|
||||||
|
- @program.event_types.each do |event_type|
|
||||||
|
%div{ class: 'help-block event_event_type_id collapse', id: "#{event_type.id}-help"}
|
||||||
|
%strong Directions
|
||||||
|
%div
|
||||||
|
= markdown(event_type.description)
|
||||||
|
|
||||||
- if @program.languages.present?
|
- if @program.languages.present?
|
||||||
= f.input :language, as: :select,
|
= f.input :language, as: :select,
|
||||||
collection: @languages,
|
collection: @languages,
|
||||||
include_blank: false, label: 'Language', input_html: { class: 'select-help-toggle' }
|
include_blank: false, label: 'Language', input_html: { class: 'select-help-toggle' }
|
||||||
|
|
||||||
- @program.event_types.each do |event_type|
|
|
||||||
%span{ class: 'help-block event_event_type_id collapse', id: "#{event_type.id}-help" }
|
|
||||||
= markdown(event_type.description)
|
|
||||||
|
|
||||||
= f.input :abstract, required: true, input_html: { rows: 5, data: { provide: 'markdown-editable' } },
|
= f.input :abstract, required: true, input_html: { rows: 5, data: { provide: 'markdown-editable' } },
|
||||||
hint: markdown_hint
|
hint: markdown_hint
|
||||||
|
|
||||||
%p
|
%p
|
||||||
You have used
|
You have used
|
||||||
%span#abstract-count #{@event.abstract_word_count}
|
%span#abstract-count #{@event.abstract_word_count}
|
||||||
words. Abstracts must be between
|
words. Abstracts must be between
|
||||||
%span#abstract-minimum-word-count
|
%span#abstract-minimum-word-count
|
||||||
0
|
0
|
||||||
and
|
and
|
||||||
|
|
@ -63,13 +65,14 @@
|
||||||
= f.input :require_registration, label: 'Require participants to register to your event'
|
= f.input :require_registration, label: 'Require participants to register to your event'
|
||||||
|
|
||||||
%p.text-right
|
%p.text-right
|
||||||
= link_to '#description', 'data-toggle' => 'collapse', id: 'description_link' do
|
= link_to '#description', 'data-toggle' => 'collapse', id: 'description_link' do
|
||||||
Do you require something special?
|
Do you require something special?
|
||||||
.collapse#description
|
.collapse#description
|
||||||
|
Tell us if you'd like to try something unique or interesting or need help in sharing your presentation online.
|
||||||
= f.input :description, input_html: { rows: 5 }, label: 'Requirements', placeholder: 'Eg. Whiteboard, printer, or something like that.'
|
= f.input :description, input_html: { rows: 5 }, label: 'Requirements', placeholder: 'Eg. Whiteboard, printer, or something like that.'
|
||||||
|
|
||||||
%p.text-right
|
%p.text-right
|
||||||
= f.submit 'Create Proposal', class: 'btn btn-success'
|
= f.submit 'Submit Proposal', class: 'btn btn-success'
|
||||||
|
|
||||||
.tab-pane{role: 'tabpanel', id: 'signin'}
|
.tab-pane{role: 'tabpanel', id: 'signin'}
|
||||||
= render partial: 'devise/shared/sign_in_form_embedded'
|
= render partial: 'devise/shared/sign_in_form_embedded'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue