Sponsorship level dashboard
removed donation amount removed explicit rendering of sponsor levels
This commit is contained in:
parent
8bce579283
commit
f68ac7e032
11 changed files with 93 additions and 4 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"}
|
||||
|
|
@ -45,6 +45,10 @@
|
|||
%ul.nav.nav-stacked.nav-pills.small.collapse.subNav
|
||||
%li{:class=> active_nav_li(admin_conference_rooms_path(@conference.short_title))}
|
||||
= link_to 'Rooms', admin_conference_rooms_path(@conference.short_title)
|
||||
%li{:class=> active_nav_li(admin_conference_sponsorship_levels_path(@conference.short_title))}
|
||||
= link_to(admin_conference_sponsorship_levels_path(@conference.short_title)) do
|
||||
%span.glyphicon.glyphicon-star
|
||||
Sponsorship Levels
|
||||
%li{ class: active_nav_li(admin_conference_supporter_levels_path(@conference.short_title)) }
|
||||
= link_to(admin_conference_supporter_levels_path(@conference.short_title)) do
|
||||
Supporter Levels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue