Refactoring Venue, Lodgings und Rooms

#385
This commit is contained in:
Chrisbr 2014-07-31 12:20:04 +02:00
parent 518e1cc62b
commit 5fe99dd041
26 changed files with 352 additions and 130 deletions

View file

@ -0,0 +1,8 @@
= f.inputs do
= f.input :name
= f.input :description, :input_html => {:rows => 2, data: { provide: "markdown-editable" } }, hint: markdown_hint("Write about the hotel/place, of what they are offering, about types of rooms, prices and address.")
= image_tag f.object.photo(:thumb) if !f.object.photo.blank?
= f.input :photo
= f.input :website_link
.actions
= f.button 'Save Lodging', class: 'btn btn-primary'