Sponsors dashboard
Removed explicit rendering of sponsors
This commit is contained in:
parent
e38a654af1
commit
67dab025a9
9 changed files with 139 additions and 4 deletions
11
app/views/admin/sponsors/_sponsor_fields.html.erb
Normal file
11
app/views/admin/sponsors/_sponsor_fields.html.erb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :description %>
|
||||
<%= image_tag f.object.logo(:thumb) if !f.object.logo.blank? %>
|
||||
<%= f.input :logo %>
|
||||
<%= f.input :website_url %>
|
||||
<%= f.input :sponsorship_level, collection: @conference.sponsorship_levels %>
|
||||
<%= remove_association_link :sponsor, f %>
|
||||
<% end %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue