osem-fcy/app/views/conferences/_tickets.html.haml
James Mason aee1f58607 Consistent design and code cleanup of splashpage elements.
* get rid of unnecessary slice()
* center up small groups of elements
* consistent text use FIXME: extract out strings
* consistent date strings
* simplified views for easier theming
2017-12-22 10:48:55 -08:00

25 lines
806 B
Text

= content_for :splash_nav do
%li
%a.smoothscroll{ href: '#tickets' } Tickets
- cache [@conference, @conference.tickets, '#splash#tickets'] do
%section#tickets
.container
.row
.col-md-12.text-center
%h2
Support
=@conference.title
.row.row-centered
- @conference.tickets.each do |ticket|
.col-md-3.col-sm-3.col-centered.col-top
%h3.text-center
= ticket.title
%h3.text-center
%i.fa.fa-ticket.fa-3x
= markdown(ticket.description)
%p.text-center
= link_to conference_tickets_path(@conference.short_title),
class: 'btn btn-success' do
Get Ticket
= humanized_money_with_symbol ticket.price