diff --git a/app/views/admin/folders/_form.html.haml b/app/views/admin/folders/_form.html.haml index b053d15..8d318ae 100644 --- a/app/views/admin/folders/_form.html.haml +++ b/app/views/admin/folders/_form.html.haml @@ -1,7 +1,8 @@ = semantic_form_for [:admin,@folder], :remote => true do |form| .content = form.inputs do - = form.input :folder_type_id, :collection => Folder::FOLDER_TYPES, :label => "Type :", :as => :select + =# form.input :folder_type_id, :collection => Folder::FOLDER_TYPES, :label => "Type :", :as => :select + = form.input :folder_type_id = form.input :enabled,:as => :boolean , :label => "Actif" = form.input :title, :label => "Titre :" = form.input :slug, :label => "Slug :"