osem-fcy/app/views/admin/lodgings/_form.html.haml
2014-07-31 12:20:04 +02:00

8 lines
No EOL
421 B
Text

= 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'