Sha256: 6bc46b1a0015ec2c52fa77bc7e7957f04c520c8549e7fa8a7b6f16761dc3e950

Contents?: true

Size: 763 Bytes

Versions: 25

Compression:

Stored size: 763 Bytes

Contents

.page-header
  .row
    .col-md-6
      %h1
        Edit template folder
        %small
          <i class="ace-icon fa fa-angle-double-right"></i>
          enter path and update
    .col-md-4
      =link_to 'Back to templates', @url_back


.row
  .col-md-12
    =horizontal_simple_form_for @item, url: updatefolder_template_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"

      - if @item.parent
        Folder:
        =@item.folder.basepath

      = f.input :basename, label: "Name", :hint=>'ex: news', :readonly => (@item.id ? true : false)

      = f.button :submit_cancel, 'Save', :cancel=>@url_back


Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
optimacms-0.1.61 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.4.3 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.4.2 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.9 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.8 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.7 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.6 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.5 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.2 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.1 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.23 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.22 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.19 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.18 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.17 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.8 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.7 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.6 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.5 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.1.60 app/views/optimacms/admin/templates/editfolder.html.haml