Added lodging backend

This commit is contained in:
Gopesh Tulsyan 2014-06-04 16:14:54 +05:30
parent b1c171cd97
commit 4cc039b358
13 changed files with 164 additions and 1 deletions

View file

@ -0,0 +1,10 @@
<div class="nested-fields">
<%= f.inputs do %>
<%= f.input :name %>
<%= f.input :description, :input_html => {:rows => 2 }, 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 %>
<%= remove_association_link :lodging, f %>
<% end %>
</div>