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
29
app/views/conferences/_lodging.html.haml
Normal file
29
app/views/conferences/_lodging.html.haml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
.container
|
||||
.row
|
||||
.col-md-12.text-center
|
||||
%h2
|
||||
Where to stay
|
||||
- if @conference.venue
|
||||
in
|
||||
= @conference.venue.city
|
||||
%p.lead
|
||||
We recommend these affordable lodging accommodations for your visit.
|
||||
- @conference.lodgings.each_slice(3) do |slice|
|
||||
.row.row-centered
|
||||
- slice.each do |lodging|
|
||||
.col-md-4.col-sm-4.ticket.col-centered.col-top
|
||||
.thumbnail
|
||||
- unless lodging.picture?
|
||||
%p.text-center
|
||||
%i.fa.fa-home.fa-5x
|
||||
- else
|
||||
-if lodging.website_link.present?
|
||||
= link_to(lodging.website_link, class: 'thumbnail') do
|
||||
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
||||
- else
|
||||
= image_tag lodging.picture.large.url, class: 'img-responsive img-lodging'
|
||||
.caption
|
||||
%h3.text-center
|
||||
= lodging.name
|
||||
-if lodging.description.present?
|
||||
= markdown(lodging.description)
|
||||
Loading…
Add table
Add a link
Reference in a new issue