%form{:class=>"form-horizontal",:action=>folders_create_path,:method=>"post"} %fieldset = render :partial => "common/select_for_folders",:locals => { :label=> t(:parent,:scope=>:folder), :name => "folder", :id => "parent", :collection => @folders, :choice => "", :blank => true} = render :partial => "common/input_form_field",:locals => { :model => 'folder',:attr => 'target'} .control-group .form-actions = render :partial => "common/button",:locals => { :name=>:create, :caption => t(:create,:scope=>:common), :icon =>'icon-plus icon-white'}