mailr/app/views/folders/_create.html.haml

9 lines
557 B
Plaintext
Raw Permalink Normal View History

2012-03-24 13:23:34 +01:00
%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
2012-03-26 20:22:01 +02:00
.controls
2012-03-24 13:23:34 +01:00
= render :partial => "common/button",:locals => { :name=>:create, :caption => t(:create,:scope=>:common), :icon =>'icon-plus icon-white'}