Merge pull request #200 from gopesht/add_sponsorship_levels
Adds sponsorship levels
This commit is contained in:
commit
411deb4c65
13 changed files with 159 additions and 10 deletions
|
|
@ -0,0 +1,6 @@
|
|||
<div class="nested-fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :title %>
|
||||
<%= remove_association_link :sponsorship_level, f %>
|
||||
<% end %>
|
||||
</div>
|
||||
4
app/views/admin/sponsorship_levels/index.html.haml
Normal file
4
app/views/admin/sponsorship_levels/index.html.haml
Normal 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"}
|
||||
Loading…
Add table
Add a link
Reference in a new issue