Sha256: 817bb6291214dcf6ff5a7c388fd062f22d7c799e9f71fe2db6b3bc2dfe1e5f77

Contents?: true

Size: 794 Bytes

Versions: 40

Compression:

Stored size: 794 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

40 entries across 40 versions & 1 rubygems

Version Path
optimacms-0.3.35 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.34 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.30 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.29 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.23 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.15 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.12 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.11 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.26 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.25 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.24 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.4 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.3.3 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.21 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.20 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.16 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.15 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.14 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.13 app/views/optimacms/admin/templates/editfolder.html.haml
optimacms-0.2.12 app/views/optimacms/admin/templates/editfolder.html.haml