add is_keynote attribute to event_types
This commit is contained in:
parent
a8b0c28cee
commit
c787190571
9 changed files with 29 additions and 13 deletions
|
|
@ -13,6 +13,7 @@
|
|||
= f.input :length, :input_html => {:size => 3}
|
||||
= f.input :minimum_abstract_length, :input_html => {:size => 3}
|
||||
= f.input :maximum_abstract_length, :input_html => {:size => 3}
|
||||
= f.input :is_keynote
|
||||
= f.input :color, :input_html => { :size => 6, :type => 'color' }
|
||||
%p.text-right
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
%th Title
|
||||
%th Length
|
||||
%th Abstract Length
|
||||
%th Keynote
|
||||
%th Color
|
||||
%th Actions
|
||||
%tbody
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
%td
|
||||
= "#{event_type.minimum_abstract_length} - #{event_type.maximum_abstract_length}"
|
||||
Words
|
||||
%td= event_type.is_keynote
|
||||
%td
|
||||
%span.label{style: "background-color: #{event_type.color};"}
|
||||
= event_type.color
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
= render 'proposal/form'
|
||||
= render 'proposal/form'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue