Adds lodgings controller and view

This commit is contained in:
Gopesh Tulsyan 2014-06-14 21:48:43 +05:30
parent 029281a9ae
commit e494192ad2
8 changed files with 111 additions and 1 deletions

View file

@ -0,0 +1,5 @@
.row
.col-md-8
= semantic_form_for(@venue, :url => admin_conference_lodging_path(@conference.short_title, @conference.venue.lodgings), :html => {:multipart => true}) do |f|
= dynamic_association :lodgings, "Lodgings", f
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}