Merge 760dd06d31 into 17427c88fe
This commit is contained in:
commit
6903a0b7c1
11 changed files with 115 additions and 12 deletions
7
app/views/admin/conference/_photo_fields.html.erb
Normal file
7
app/views/admin/conference/_photo_fields.html.erb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :picture %>
|
||||
<%= f.input :description, :input_html => {:rows => 2 } %>
|
||||
<%= remove_association_link :photo, f %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
@ -17,6 +17,8 @@
|
|||
= 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'
|
||||
|
||||
= dynamic_association :photos, "Photos", f
|
||||
|
||||
= f.inputs :name => "Media" do
|
||||
- if !@conference.logo.blank?
|
||||
= image_tag @conference.logo(:thumb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue