Added carousel component to take photos in Conference#edit
This commit is contained in:
parent
d9818f2749
commit
b10b43ac7a
3 changed files with 12 additions and 1 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue