Fixes supporter level form
This commit is contained in:
parent
e432b71fb7
commit
4b401c4cea
2 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
.col-md-3
|
.col-md-3
|
||||||
= render 'admin/conference/sidebar'
|
= render 'admin/conference/sidebar'
|
||||||
.col-md-9
|
.col-md-9
|
||||||
= semantic_form_for(@conference, :url => admin_conference_supporter_levels_path(@conference.short_title)) do |f|
|
= semantic_form_for(@conference, :url => admin_conference_supporter_level_path(@conference.short_title, @conference.supporter_levels)) do |f|
|
||||||
= f.input :use_supporter_levels, :label => false
|
= f.input :use_supporter_levels, :label => false
|
||||||
= dynamic_association :supporter_levels, "Supporter Levels", f
|
= dynamic_association :supporter_levels, "Supporter Levels", f
|
||||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||||
|
|
@ -18,8 +18,6 @@ Osem::Application.routes.draw do
|
||||||
put "/registrations/change_field" => "registrations#change_field"
|
put "/registrations/change_field" => "registrations#change_field"
|
||||||
get "/emailsettings" => "emails#show", :as => "email_settings"
|
get "/emailsettings" => "emails#show", :as => "email_settings"
|
||||||
put "/emailsettings" => "emails#update"
|
put "/emailsettings" => "emails#update"
|
||||||
get "/supporter_levels" => "supporter_levels#show"
|
|
||||||
put "/supporter_levels" => "supporter_levels#update"
|
|
||||||
get "/venue" => "venue#show", :as => "venue_info"
|
get "/venue" => "venue#show", :as => "venue_info"
|
||||||
put "/venue" => "venue#update", :as => "venue_update"
|
put "/venue" => "venue#update", :as => "venue_update"
|
||||||
get "/dietary_choices" => "dietchoices#show", :as => "dietary_list"
|
get "/dietary_choices" => "dietchoices#show", :as => "dietary_list"
|
||||||
|
|
@ -36,6 +34,7 @@ Osem::Application.routes.draw do
|
||||||
resources :tracks, :only => [ :show, :update, :index ]
|
resources :tracks, :only => [ :show, :update, :index ]
|
||||||
resources :eventtype, :only => [ :show, :update, :index ]
|
resources :eventtype, :only => [ :show, :update, :index ]
|
||||||
resources :social_events, :only => [ :show, :update, :index ]
|
resources :social_events, :only => [ :show, :update, :index ]
|
||||||
|
resources :supporter_levels, :only => [ :show, :update, :index ]
|
||||||
put "/questions/update_conference" => "questions#update_conference"
|
put "/questions/update_conference" => "questions#update_conference"
|
||||||
resources :questions
|
resources :questions
|
||||||
resources :events do
|
resources :events do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue