osem-fcy/app/views/conference/_tickets.html.haml

17 lines
570 B
Text
Raw Normal View History

2014-05-29 20:23:33 +05:30
%div.row
%h3 Tickets
-if !@conference.ticket_description.blank?
2014-08-01 12:23:33 +05:30
.lead
= markdown(@conference.ticket_description)
2014-05-29 20:23:33 +05:30
- @conference.supporter_levels.each do |s|
%div.col-md-6
- if !s.title.blank?
%h4 #{ s.title }
-if !s.description.blank?
2014-08-01 12:23:33 +05:30
.lead #{ s.description }
2014-05-29 20:23:33 +05:30
- if !s.url.blank?
%div.btn-group
= link_to "Buy Ticket", s.url, class: 'btn btn-success', target: '_blank'
- if !s.ticket_price.blank?
= button_tag "#{s.ticket_price}", class: 'btn btn-success'