app/views/optimacms/admin/templates/newfolder.html.haml in optimacms-0.1.55 vs app/views/optimacms/admin/templates/newfolder.html.haml in optimacms-0.1.56

- old
+ new

@@ -1,28 +1,28 @@ -.page-header - .row - .col-md-6 - %h1 - Create template folder - %small - <i class="ace-icon fa fa-angle-double-right"></i> - enter path and create - .col-md-4 - =link_to 'Back to templates', templates_path - - -.row - .col-md-12 - =horizontal_simple_form_for @item, url: createfolder_templates_path do |f| - = render 'optimacms/admin/shared/form_errors', :object=>@item - - = f.input :parent_id, as: :hidden - = f.input :is_folder, as: :hidden - - = f.input :title, label: "Title" - - = f.input :basedirpath, disabled: true, label: 'Parent folder' - = f.input :basename, label: "Name", :hint=>'ex: news' - - = f.button :submit_cancel, 'Save', :cancel=>@url_back - - +.page-header + .row + .col-md-6 + %h1 + Create template folder + %small + <i class="ace-icon fa fa-angle-double-right"></i> + enter path and create + .col-md-4 + =link_to 'Back to templates', templates_path + + +.row + .col-md-12 + =horizontal_simple_form_for @item, url: createfolder_templates_path do |f| + = render 'optimacms/admin/shared/form_errors', :object=>@item + + = f.input :parent_id, as: :hidden + = f.input :is_folder, as: :hidden + + = f.input :title, label: "Title" + + = f.input :basedirpath, disabled: true, label: 'Parent folder' + = f.input :basename, label: "Name", :hint=>'ex: news' + + = f.button :submit_cancel, 'Save', :cancel=>@url_back + +