Sponsors dashboard

Removed explicit rendering of sponsors
This commit is contained in:
Gopesh Tulsyan 2014-06-05 20:05:20 +05:30
parent e38a654af1
commit 67dab025a9
9 changed files with 139 additions and 4 deletions

View 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>