bulk modul edit

This commit is contained in:
Andreas Stephanides
2014-04-04 14:13:47 +02:00
parent 644f89a230
commit c3e1a23073
8 changed files with 156 additions and 61 deletions

View File

@@ -4,10 +4,10 @@
# Formtastic::FormBuilder.default_text_field_size = 50
# Set the default text area height when input is a text. Default is 20.
# Formtastic::FormBuilder.default_text_area_height = 5
Formtastic::FormBuilder.default_text_area_height = 5
# Set the default text area width when input is a text. Default is nil.
Formtastic::FormBuilder.default_text_area_width = 100
Formtastic::FormBuilder.default_text_area_width = "40"
# Should all fields be considered "required" by default?
# Defaults to true.

View File

@@ -29,7 +29,8 @@
resources :studien, :only=>[:show]
end
resources :modulgruppen,:only =>[:create,:index]
resources :modulgruppen,:only =>[:create,:index] do
end
resources :studien,:except=>[:show,:new,:edit,:update,:destroy], :shallow=>true do
resources :modulgruppen, :path => "(:locale)/modulgruppen"
@@ -64,7 +65,13 @@
post 'update_lvas'
get 'load_tiss'
post 'show_tiss'
end
end
collection do
get 'edit_bulk'
get 'new_bulk'
post 'update_bulk'
end
end
resources :beispiele#, :only=>[:show,:index,:create]
resources :lvas do