Sha256: 78526453f3bb785390ef7d72170409da507297178383d158fcf86438f5f92665
Contents?: true
Size: 918 Bytes
Versions: 25
Compression:
Stored size: 918 Bytes
Contents
.page-header .row .col-md-6 %h1 Attach template %small <i class="ace-icon fa fa-angle-double-right"></i> select path and attach .col-md-4 =link_to 'Back to templates', templates_path .row .col-md-12 =horizontal_simple_form_for @item, url: attach_templates_path do |f| = render 'optimacms/admin/shared/form_errors', :object=>@item = f.input :parent_id, as: :hidden = f.input :title, label: "Title" = f.input :basedirpath, readonly: true, label: 'Folder' = f.input :basename, label: "Name", :hint=>'ex: index, show' -#= f.input :basepath, label: "Path", :hint=>'ex: news/index' = f.input :tpl_format, label: "Format", :hint=>'ex: erb, haml', :collection=>Optimacms::Template::EXTENSIONS.keys = f.input :is_translated, label: "Translate?" = f.button :submit_cancel, 'Save', :cancel=>@url_back
Version data entries
25 entries across 25 versions & 1 rubygems