Make ticket layout configurable

This commit is contained in:
siddhantbajaj 2017-06-30 05:26:21 +05:30
parent f37d3095e1
commit a21d95c486
7 changed files with 19 additions and 1 deletions

View file

@ -11,6 +11,7 @@
= f.input :short_title, hint: "A short title, e.g. 'oSC14', to be used in URLs"
= f.input :description, hint: markdown_hint('A description of the conference.'), input_html: { rows: 5, data: { provide: 'markdown-editable' } }
= f.input :color, hint: 'The color will be used eg for the dashboard.', input_html: {size: 6, type: 'color'}
= f.input :ticket_layout, as: :select, collection: Conference.ticket_layouts.keys, hint: "Layout type for tickets of the conference."
= f.label 'Conference Logo'
%br
- if @conference.picture?