mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixes social_events form
This commit is contained in:
parent
229581efc3
commit
e432b71fb7
2 changed files with 2 additions and 3 deletions
|
|
@ -2,6 +2,6 @@
|
|||
.col-md-3
|
||||
= render 'admin/conference/sidebar'
|
||||
.col-md-9
|
||||
= semantic_form_for(@conference, :url => admin_conference_social_events_path(@conference.short_title)) do |f|
|
||||
= semantic_form_for(@conference, :url => admin_conference_social_event_path(:conference_id => @conference.short_title, :id => @conference.social_events)) do |f|
|
||||
= dynamic_association :social_events, "Social Events", f
|
||||
= f.action :submit, :as => :button, :button_html => {:class => "btn btn-primary"}
|
||||
|
|
@ -22,8 +22,6 @@ Osem::Application.routes.draw do
|
|||
put "/supporter_levels" => "supporter_levels#update"
|
||||
get "/venue" => "venue#show", :as => "venue_info"
|
||||
put "/venue" => "venue#update", :as => "venue_update"
|
||||
get "/social_events" => "social_events#show", :as => "social_events"
|
||||
put "/social_events" => "social_events#update"
|
||||
get "/dietary_choices" => "dietchoices#show", :as => "dietary_list"
|
||||
put "/dietary_choices" => "dietchoices#update", :as => "dietary_update"
|
||||
get "/volunteers_list" => "volunteers#show"
|
||||
|
|
@ -37,6 +35,7 @@ Osem::Application.routes.draw do
|
|||
resources :rooms, :only => [ :show, :update, :index ]
|
||||
resources :tracks, :only => [ :show, :update, :index ]
|
||||
resources :eventtype, :only => [ :show, :update, :index ]
|
||||
resources :social_events, :only => [ :show, :update, :index ]
|
||||
put "/questions/update_conference" => "questions#update_conference"
|
||||
resources :questions
|
||||
resources :events do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue