Tidy up some text around logins and proposals

This commit is contained in:
Michael Ball 2020-06-04 02:04:07 -07:00
parent 7d8245fa68
commit ce3f9e422a
4 changed files with 25 additions and 19 deletions

View file

@ -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.

View file

@ -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'