Add editing submission instructions
This commit is contained in:
parent
3d99661d02
commit
bc4177154a
4 changed files with 10 additions and 2 deletions
|
|
@ -15,6 +15,7 @@
|
|||
= f.input :description, as: :text, hint: markdown_hint, input_html: { rows: 5, data: { provide: 'markdown-editable' } }
|
||||
= f.input :minimum_abstract_length, input_html: {size: 3}
|
||||
= f.input :maximum_abstract_length, input_html: {size: 3}
|
||||
= f.input :submission_instructions, as: :text, hint: markdown_hint, input_html: { rows: 5, data: { provide: 'markdown-editable' } }
|
||||
= f.input :color, input_html: { size: 6, type: 'color' }
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
%thead
|
||||
%th Title
|
||||
%th Description
|
||||
%th Instructions
|
||||
%th Length
|
||||
%th Abstract Length
|
||||
%th Color
|
||||
|
|
@ -21,6 +22,8 @@
|
|||
= event_type.title
|
||||
%td
|
||||
= markdown(event_type.description)
|
||||
%td
|
||||
= markdown(event_type.submission_instructions)
|
||||
%td
|
||||
= event_type.length
|
||||
Minutes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue