2014-11-14 11:58:36 +01:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
2015-04-16 18:34:41 +03:00
|
|
|
.page-header
|
2020-06-04 02:04:07 -07:00
|
|
|
%h1 New #{@conference.title} Proposal
|
2017-09-05 18:15:46 +05:30
|
|
|
- if @program.cfp_open?
|
|
|
|
|
- if @program.cfp.description.present?
|
2021-03-23 18:28:34 -07:00
|
|
|
%h2 Call for Proposals
|
2017-09-05 18:15:46 +05:30
|
|
|
.row
|
|
|
|
|
.col-md-12
|
2020-01-07 15:38:17 -08:00
|
|
|
= markdown(@program.cfp.description, escape_html=false)
|
2014-11-14 11:58:36 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
2015-04-16 18:34:41 +03:00
|
|
|
= render partial: 'encouragement_text'
|
|
|
|
|
.row
|
|
|
|
|
.col-md-8
|
2016-08-06 00:57:07 +02:00
|
|
|
- unless current_user
|
2015-04-16 18:34:41 +03:00
|
|
|
%legend
|
|
|
|
|
%span
|
2020-06-04 02:04:07 -07:00
|
|
|
= link_to('#signup', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
|
|
|
|
Create a Snap!Con Account
|
|
|
|
|
|
2015-04-16 18:34:41 +03:00
|
|
|
%span.pull-right#account-already
|
2020-06-04 02:04:07 -07:00
|
|
|
= link_to('#signin', role: 'tab', 'aria-controls' => 'home', 'data-toggle' => 'tab') do
|
|
|
|
|
Already have a Snap!Con account?
|
2015-04-16 18:34:41 +03:00
|
|
|
.tab-content
|
|
|
|
|
.tab-pane.active{role: 'tabpanel', id: 'signup'}
|
|
|
|
|
|
|
|
|
|
= semantic_form_for(@event, url: @url) do |f|
|
|
|
|
|
|
2015-04-18 21:44:40 +03:00
|
|
|
= render partial: 'devise/shared/sign_up_form_embedded'
|
|
|
|
|
|
2015-04-16 18:34:41 +03:00
|
|
|
= f.inputs name: 'Proposal Information' do
|
2015-10-06 14:15:38 +03:00
|
|
|
= f.input :title, as: :string, required: true, input_html: { required: true }
|
2015-04-16 18:34:41 +03:00
|
|
|
|
2016-03-21 00:18:20 +01:00
|
|
|
- if @program.languages.present?
|
|
|
|
|
= f.input :language, as: :select,
|
|
|
|
|
collection: @languages,
|
|
|
|
|
include_blank: false, label: 'Language', input_html: { class: 'select-help-toggle' }
|
|
|
|
|
|
2021-03-23 22:43:11 -07:00
|
|
|
- if @program.difficulty_levels.present?
|
|
|
|
|
= f.input :difficulty_level, as: :select, collection: @program.difficulty_levels,
|
|
|
|
|
input_html: { class: 'select-help-toggle' },
|
|
|
|
|
include_blank: '(Please select)' if @conference.program.difficulty_levels.any?
|
2021-03-22 02:59:35 -07:00
|
|
|
|
2021-03-23 22:43:11 -07:00
|
|
|
- @program.difficulty_levels.each do |difficulty_level|
|
|
|
|
|
%span.help-block.select-help-text.collapse.event_difficulty_level_id{ id: "#{difficulty_level.id}-help" }
|
|
|
|
|
= difficulty_level.description
|
2020-06-04 02:04:07 -07:00
|
|
|
|
2021-03-23 22:43:11 -07:00
|
|
|
= render 'submission_type_content_form', f: f, program: @program
|
2021-02-16 13:45:38 -08:00
|
|
|
|
2018-10-18 12:01:42 -07:00
|
|
|
- if @program.cfp.enable_registrations?
|
|
|
|
|
= f.input :require_registration, label: 'Require participants to register to your event'
|
2015-04-16 18:34:41 +03:00
|
|
|
|
|
|
|
|
%p.text-right
|
2020-06-04 02:04:07 -07:00
|
|
|
= link_to '#description', 'data-toggle' => 'collapse', id: 'description_link' do
|
2015-04-16 18:34:41 +03:00
|
|
|
Do you require something special?
|
|
|
|
|
.collapse#description
|
2020-06-04 02:04:07 -07:00
|
|
|
Tell us if you'd like to try something unique or interesting or need help in sharing your presentation online.
|
2015-04-16 18:34:41 +03:00
|
|
|
= f.input :description, input_html: { rows: 5 }, label: 'Requirements', placeholder: 'Eg. Whiteboard, printer, or something like that.'
|
|
|
|
|
|
|
|
|
|
%p.text-right
|
2021-03-23 18:28:34 -07:00
|
|
|
= f.submit 'Submit Proposal', class: 'btn btn-success btn-lg'
|
2015-10-06 14:15:38 +03:00
|
|
|
|
2015-04-16 18:34:41 +03:00
|
|
|
.tab-pane{role: 'tabpanel', id: 'signin'}
|
2015-04-18 21:44:40 +03:00
|
|
|
= render partial: 'devise/shared/sign_in_form_embedded'
|