Sha256: c0d469653a2253321f83317eb21818da996c13e57d10d4d7441faa6831c74db0
Contents?: true
Size: 450 Bytes
Versions: 1
Compression:
Stored size: 450 Bytes
Contents
- url = @item.persisted? ? updatefolder_page_path : createfolder_pages_path =horizontal_simple_form_for @item, url: url 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_id = f.input :parent_title, disabled: true, label: 'Parent folder' = f.button :submit_cancel, 'Save', :cancel=>@url_back
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
optimacms-0.3.23 | app/views/optimacms/admin/pages/_form_folder.html.haml |