Move sponsor modal to a generic partial & redesign.

... use for booths also.
This commit is contained in:
James Mason 2017-11-26 20:37:02 -08:00
parent b2e1eb5fa9
commit 20e2b4b76b
5 changed files with 58 additions and 52 deletions

View file

@ -13,13 +13,12 @@
.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
= link_to(conference_tickets_path(@conference.short_title),
class: 'thumbnail') do
.caption
%h3.text-center
= ticket.title
= markdown(ticket.description)
%button.btn-block.btn.btn-lg.btn-success
%i.fa.fa-ticket.fa-fw
= humanized_money_with_symbol(ticket.price)