Merge 0944952e9d into 008ccf8b6d
This commit is contained in:
commit
4d90a647e7
4 changed files with 19 additions and 2 deletions
|
|
@ -5,6 +5,10 @@
|
|||
%p.text-muted
|
||||
Recommended some Hotels, Motels, Hostels or Campsites around your venue
|
||||
|
||||
- if @conference.lodgings.size > 5
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
= link_to 'Add Lodging', new_admin_conference_lodging_path(@conference.short_title), class: 'btn btn-primary'
|
||||
- @conference.lodgings.each_slice(3) do |slice|
|
||||
.row
|
||||
- slice.each do |lodging|
|
||||
|
|
@ -28,8 +32,6 @@
|
|||
= link_to 'Edit', edit_admin_conference_lodging_path(@conference.short_title, lodging), class: 'btn btn-primary'
|
||||
= link_to 'Delete', admin_conference_lodging_path(@conference.short_title, lodging),
|
||||
method: :delete, class: 'btn btn-danger', data: { confirm: "Do you really want to delete the lodging #{lodging.name}?" }
|
||||
|
||||
|
||||
.row
|
||||
.col-md-12.text-right
|
||||
= link_to 'Add Lodging', new_admin_conference_lodging_path(@conference.short_title), class: 'btn btn-primary'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue