2014-11-25 10:47:18 +01:00
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1
|
|
|
|
|
- if @ticket.new_record?
|
|
|
|
|
New
|
|
|
|
|
= @ticket.title
|
|
|
|
|
Ticket
|
|
|
|
|
.row
|
|
|
|
|
.col-md-8
|
2017-03-11 13:25:39 +05:30
|
|
|
= semantic_form_for(@ticket, url: (@ticket.new_record? ? admin_conference_tickets_path : admin_conference_ticket_path(@conference.short_title, @ticket))) do |f|
|
2017-12-02 16:23:56 +02:00
|
|
|
= f.input :title, input_html: { autofocus: true }
|
|
|
|
|
= f.input :description, input_html: { rows: 5, data: { provide: 'markdown-editable' } }
|
2014-11-25 10:47:18 +01:00
|
|
|
= f.input :price
|
2019-07-13 21:39:47 +02:00
|
|
|
%label
|
|
|
|
|
Currency
|
|
|
|
|
%p
|
|
|
|
|
= @conference.price_currency
|
2017-08-07 15:10:06 +05:30
|
|
|
= f.input :registration_ticket, hint: 'A registration ticket is with which user register for the conference.'
|
2014-11-25 10:47:18 +01:00
|
|
|
%p.text-right
|
|
|
|
|
= f.action :submit, as: :button, button_html: { class: 'btn btn-primary' }
|