Sha256: 05e86c5d0ef0fcca1188db2c797f9e1df97ef04b4eaa10e1a5ae33f26ad8c130
Contents?: true
Size: 1.04 KB
Versions: 7
Compression:
Stored size: 1.04 KB
Contents
%h1 New Text Page - if @item && @item.parent_id && @item.folder.present? Folder: #{@item.parent_title} %br .row .col-md-12 =horizontal_simple_form_for @item, url: createtextpage_pages_path, method: :post do |f| = render 'optimacms/admin/shared/form_errors', :object=>@item = f.input :parent_id, as: :hidden = f.input :name, as: :string, label: "Name", :hint=>'Unique name. Only latin letters, no spaces' = f.input :title, label: "Title", hint: "Your title. Ex. About us" = f.input :url, as: :string, label: "URL", hint: 'page UR:. Ex. about.html, company/history' = f.simple_fields_for :template do |ft| = ft.input :basedirpath, readonly: false, label: 'Template folder', hint: "ex: news/" = ft.input :tpl_format, label: "Template format", :collection=>Optimacms::Template::EXTENSIONS.keys = f.association :layout, label: "Layout", collection: @layouts, label_method: :title = f.input :is_translated, label: "Translate?" = f.button :submit_cancel, 'Save', :cancel=>@url_back
Version data entries
7 entries across 7 versions & 1 rubygems