From 160c1704bbf7a1a7e44432aba79026ab13bda6ac Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 22 Aug 2011 12:23:06 +0200 Subject: [PATCH] form --- app/views/admin/folders/_form.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/folders/_form.html.haml b/app/views/admin/folders/_form.html.haml index 8d318ae..de4d2c6 100644 --- a/app/views/admin/folders/_form.html.haml +++ b/app/views/admin/folders/_form.html.haml @@ -1,8 +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 + = 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 :"