parent
518e1cc62b
commit
5fe99dd041
26 changed files with 352 additions and 130 deletions
8
app/views/admin/lodgings/_form.html.haml
Normal file
8
app/views/admin/lodgings/_form.html.haml
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue