Merge pull request #200 from gopesht/add_sponsorship_levels

Adds sponsorship levels
This commit is contained in:
James Mason 2014-06-12 11:02:35 -07:00
commit 411deb4c65
13 changed files with 159 additions and 10 deletions

View file

@ -0,0 +1,6 @@
<div class="nested-fields">
<%= f.inputs do %>
<%= f.input :title %>
<%= remove_association_link :sponsorship_level, f %>
<% end %>
</div>

View file

@ -0,0 +1,4 @@
.col-md-9
= semantic_form_for(@conference, :url => admin_conference_sponsorship_level_path(@conference.short_title, @conference.sponsorship_levels)) do |f|
= dynamic_association :sponsorship_levels, "Sponsorship Levels", f
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}