Sha256: d872a8805cc0cbce30cedc6136a32a0c2170e78aef600f080378b63641d158e7

Contents?: true

Size: 765 Bytes

Versions: 4

Compression:

Stored size: 765 Bytes

Contents

.row#mainform
  .col-md-12
    = horizontal_simple_form_for @item, {:html => { :class => "form-horizontal", :role => "form" }}.merge((@modal==1 ? {remote: true}: {}))  do |f|
      = render 'optimacms/admin/shared/form_errors', :object=>@item

      = f.input :parent_id, as: :hidden

      = f.input :title, label: "Title"

      -# if @item && @item.parent_id>0
        = f.input :parent_title, disabled: true, label: 'Folder'

      -#= f.input :basename, disabled: true, label: 'Name'
      -#= f.input :basedirpath, label: "Folder", :disabled=> true
      = f.input :path, disabled: true, label: 'File'
      -#=link_to 'Rename', '#'


      = render 'form_content_translation', f: f, item: @item



      = f.button :submit_cancel, 'Save', :cancel=>@url_back

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
optimacms-0.2.8 app/views/optimacms/admin/templates/_form.html.haml
optimacms-0.2.7 app/views/optimacms/admin/templates/_form.html.haml
optimacms-0.2.6 app/views/optimacms/admin/templates/_form.html.haml
optimacms-0.2.5 app/views/optimacms/admin/templates/_form.html.haml