sumbission text views
This commit is contained in:
parent
46fa17b55c
commit
baf488ad8a
3 changed files with 34 additions and 0 deletions
|
|
@ -111,6 +111,10 @@
|
||||||
%td
|
%td
|
||||||
%b Abstract
|
%b Abstract
|
||||||
%td= markdown(@event.abstract)
|
%td= markdown(@event.abstract)
|
||||||
|
%tr
|
||||||
|
%td
|
||||||
|
%b Submission Description
|
||||||
|
%td= markdown(@event.submission_text)
|
||||||
%tr
|
%tr
|
||||||
%td
|
%td
|
||||||
%b Requirements
|
%b Requirements
|
||||||
|
|
|
||||||
|
|
@ -46,6 +46,20 @@
|
||||||
250
|
250
|
||||||
words.
|
words.
|
||||||
|
|
||||||
|
= f.input :submission_text, input_html: { rows: 5, data: { provide: 'markdown' } },
|
||||||
|
hint: markdown_hint('[Tips to improve your presentations.](http://blog.hubspot.com/blog/tabid/6307/bid/5975/10-Rules-to-Instantly-Improve-Your-Presentations.aspx)')
|
||||||
|
|
||||||
|
%p
|
||||||
|
You have used
|
||||||
|
%span#abstract-count #{@event.submission_word_count}
|
||||||
|
words. Submission descriptions must be between
|
||||||
|
%span#abstract-minimum-word-count
|
||||||
|
0
|
||||||
|
and
|
||||||
|
%span#abstract-maximum-word-count
|
||||||
|
250
|
||||||
|
words.
|
||||||
|
|
||||||
- if current_user.is_admin? or @program.cfp.enable_registrations?
|
- if current_user.is_admin? or @program.cfp.enable_registrations?
|
||||||
= f.inputs 'Enable pre-registration' do
|
= f.inputs 'Enable pre-registration' do
|
||||||
= f.input :require_registration, label: 'Require participants to register to your event'
|
= f.input :require_registration, label: 'Require participants to register to your event'
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,22 @@
|
||||||
250
|
250
|
||||||
words.
|
words.
|
||||||
|
|
||||||
|
= f.input :submission_text, input_html: { rows: 5, data: { provide: 'markdown' } },
|
||||||
|
hint: markdown_hint
|
||||||
|
|
||||||
|
%p
|
||||||
|
You have used
|
||||||
|
%span#abstract-count #{@event.submission_word_count}
|
||||||
|
words. Submission descriptions must be between
|
||||||
|
%span#abstract-minimum-word-count
|
||||||
|
0
|
||||||
|
and
|
||||||
|
%span#abstract-maximum-word-count
|
||||||
|
250
|
||||||
|
words.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- if @program.cfp.enable_registrations?
|
- if @program.cfp.enable_registrations?
|
||||||
= f.input :require_registration, label: 'Require participants to register to your event'
|
= f.input :require_registration, label: 'Require participants to register to your event'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue