Added lodging to splash view

This commit is contained in:
Gopesh Tulsyan 2014-06-07 00:30:19 +05:30
parent 4cc039b358
commit c1063645da
13 changed files with 53 additions and 5 deletions

View file

@ -16,7 +16,7 @@
= f.input :registration_end_date, :as => :string, :input_html => { :id => "conference-reg-end-datepicker", :readonly => "readonly" }
= f.input :registration_description, hint: 'This description will appear in registration segment of the splash'
= f.input :ticket_description, hint: 'This will appear in the Tickets segment of the splash'
= f.input :lodging_description, hint: 'This will appear in the lodging segement of the splash'
= f.inputs :name => "Media" do
- if !@conference.logo.blank?
= image_tag @conference.logo(:thumb)

View file

@ -5,6 +5,7 @@
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 %>
<%= remove_association_link :lodging, f %>
<% end %>
</div>