Simplify sidebar and navigation

Check existence of supporter levels
This commit is contained in:
Henne Vogelsang 2014-03-04 10:10:07 +01:00
parent 59933115fc
commit 0982be8579
21 changed files with 93 additions and 169 deletions

View file

@ -1,9 +1,9 @@
.container-fluid
.row-fluid
.span3
= render 'admin/conference/sidebar', :activated => "Difficulty Levels"
= render 'admin/conference/sidebar'
.span9
= semantic_form_for(@conference, :url => admin_conference_difficulty_levels_path(@conference.short_title)) do |f|
= f.input :use_difficulty_levels, :label => false
= dynamic_association :difficulty_levels, "Difficulty_Levels", f
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}