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",
|
||||
id: "omniauth-#{provider}",
|
||||
title: "Your #{provider} login" do
|
||||
%i{class: "fa fa-#{provider}"}
|
||||
-# %i{class: "fa fa-#{provider}"}
|
||||
= provider.capitalize
|
||||
- else
|
||||
= link_to("user_#{provider}_omniauth_authorize".to_sym,
|
||||
class: "btn btn-success btn-lg",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
- 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|
|
||||
= u.input :username, 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')}:"
|
||||
= "#{tracks(@conference)}."
|
||||
- if @program.cfp_open?
|
||||
The submission period has begun
|
||||
The submission period is open from
|
||||
%em.notranslate
|
||||
= @program.cfp.start_date.strftime('%A, %B %-d. %Y')
|
||||
and closes
|
||||
|
|
@ -16,9 +16,7 @@
|
|||
That means you have
|
||||
%b.notranslate= pluralize(@program.cfp.remaining_days, 'day')
|
||||
left!
|
||||
Remember
|
||||
%span.notranslate
|
||||
= @conference.title
|
||||
%span.notranslate #{@conference.title}
|
||||
will only be as good as the content you present. Submit early, submit often!
|
||||
-else
|
||||
- else
|
||||
The submission period is closed now.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
.row
|
||||
.col-md-12
|
||||
.page-header
|
||||
%h1 New Proposal
|
||||
%h1 New #{@conference.title} Proposal
|
||||
- if @program.cfp_open?
|
||||
- if @program.cfp.description.present?
|
||||
.row
|
||||
|
|
@ -16,12 +16,12 @@
|
|||
- unless current_user
|
||||
%legend
|
||||
%span
|
||||
=link_to('#signup', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||
= ENV['OSEM_NAME'] || 'OSEM'
|
||||
Account
|
||||
= link_to('#signup', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||
Create a Snap!Con Account
|
||||
|
||||
%span.pull-right#account-already
|
||||
=link_to('#signin', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||
Already have an account?
|
||||
= link_to('#signin', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
||||
Already have a Snap!Con account?
|
||||
.tab-content
|
||||
.tab-pane.active{role: 'tabpanel', id: 'signup'}
|
||||
|
||||
|
|
@ -36,22 +36,24 @@
|
|||
data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]},
|
||||
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?
|
||||
= f.input :language, as: :select,
|
||||
collection: @languages,
|
||||
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' } },
|
||||
hint: markdown_hint
|
||||
|
||||
%p
|
||||
You have used
|
||||
%span#abstract-count #{@event.abstract_word_count}
|
||||
words. Abstracts must be between
|
||||
words. Abstracts must be between
|
||||
%span#abstract-minimum-word-count
|
||||
0
|
||||
and
|
||||
|
|
@ -63,13 +65,14 @@
|
|||
= f.input :require_registration, label: 'Require participants to register to your event'
|
||||
|
||||
%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?
|
||||
.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.'
|
||||
|
||||
%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'}
|
||||
= render partial: 'devise/shared/sign_in_form_embedded'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue