Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController'
This commit is contained in:
parent
0b6550d060
commit
daf1f805bd
71 changed files with 225 additions and 191 deletions
25
app/views/conferences/_tickets.html.haml
Normal file
25
app/views/conferences/_tickets.html.haml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h2
|
||||
Support
|
||||
=@conference.short_title
|
||||
%p.lead
|
||||
To support our event you can get these tickets
|
||||
- @conference.tickets.each_slice(4) do |slice|
|
||||
.row.row-centered
|
||||
- slice.each do |ticket|
|
||||
.col-md-3.col-centered.col-top.col-sm-3
|
||||
.thumbnail
|
||||
%p.text-center
|
||||
%i.fa.fa-ticket.fa-5x
|
||||
.caption
|
||||
%h3.text-center
|
||||
= ticket.title
|
||||
-if ticket.description.present?
|
||||
= 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue