Sha256: 5514027dc120084b2f781d7fd07b5e7675a59fd4ecd1a0a9aa73c55d88c40674
Contents?: true
Size: 950 Bytes
Versions: 58
Compression:
Stored size: 950 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
58 entries across 58 versions & 1 rubygems