Add index view for the cfp and modify existing ones

Add cfp_type to the form partial
Refactor Cfps#show to use partials for the different cfp types
Modify the rest of the view, where the cfp was used
This commit is contained in:
AEtherC0r3 2017-05-31 21:03:15 +03:00 committed by Stella Rouzi
parent c3eb178546
commit 2bff918556
10 changed files with 107 additions and 67 deletions

View file

@ -53,7 +53,7 @@ Osem::Application.routes.draw do
end
resource :registration_period
resource :program do
resource :cfp
resources :cfps
resources :tracks
resources :event_types
resources :difficulty_levels