parent
63d2980fe3
commit
27fc0acbf8
24 changed files with 388 additions and 116 deletions
4
app/views/admin/audiences/_form.html.haml
Normal file
4
app/views/admin/audiences/_form.html.haml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
= f.input :registration_start_date, as: :string, input_html: { id: 'registration-start-datepicker', readonly: 'readonly' }
|
||||
= f.input :registration_end_date, as: :string, input_html: { id: 'registration-end-datepicker', readonly: 'readonly' }
|
||||
= f.input :registration_description, hint: markdown_hint('This will appear in the Tickets segment of the splash.'), input_html: { rows: 5, data: { provide: "markdown-editable" } }
|
||||
= f.submit 'Save Audience', class: 'btn btn-primary'
|
||||
5
app/views/admin/audiences/edit.html.haml
Normal file
5
app/views/admin/audiences/edit.html.haml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
%h1 Audience
|
||||
.row
|
||||
.col-md-8
|
||||
= semantic_form_for(@audience, url: admin_conference_audience_path(@conference.short_title)) do |f|
|
||||
= render 'form', f: f
|
||||
|
|
@ -20,9 +20,6 @@
|
|||
= f.input :end_date, :as => :string, :input_html => { :id => "conference-end-datepicker", :readonly => "readonly" }
|
||||
= f.inputs name: 'Registration' do
|
||||
= f.input :include_registrations_in_splash, hint: 'On setting this true you will enable the registrations to be displayed on the splash page'
|
||||
= f.input :registration_start_date, :as => :string, :input_html => { :id => "conference-reg-start-datepicker", :readonly => "readonly" }
|
||||
= f.input :registration_end_date, :as => :string, :input_html => { :id => "conference-reg-end-datepicker", :readonly => "readonly" }
|
||||
= f.input :registration_description, hint: markdown_hint("This description will appear in registration segment of the splash."), input_html: { rows: 5, data: { provide: "markdown-editable" } }
|
||||
= f.input :ticket_description, hint: markdown_hint("This will appear in the Tickets segment of the splash."), input_html: { rows: 5, data: { provide: "markdown-editable" } }
|
||||
= f.input :sponsor_description, hint: markdown_hint("This will appear in the sponsor segment of the splash."), input_html: { rows: 5, data: { provide: "markdown-editable" } }
|
||||
= f.input :sponsor_email, hint: 'This will appear in the sponsor segment of the splash for the sponsors to contact to the organizers'
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@
|
|||
.tab-pane.active#show
|
||||
= render partial: 'edit_show'
|
||||
.tab-pane#edit
|
||||
= render partial: 'edit_form'
|
||||
= render partial: 'edit_form'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue