Sha256: 9f46620afdb3c1ab038a2f9bbd9ee816142ba13f288fb5100d69a3b98dc101da

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

= form_for([:admin,@page],:html => {:class => 'basic'}) do |f|
  %legend=title
  = render :partial => 'fields', :locals => {:af => f}
  = f.label :parent_id
  = f.select :parent_id, nested_set_options(Page, @page) {|i, level| "#{'-' * level} #{i.title}" },{ :include_blank => true }
  %hr
  %p
    = f.submit :class => 'btn btn-primary'
    = link_to t("amalgam.admin.a.back"), admin_pages_path ,:class => 'btn'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amalgam-2.1.4.1 app/views/amalgam/admin/pages/_form.html.haml
amalgam-2.1.4 app/views/amalgam/admin/pages/_form.html.haml
amalgam-2.1.3.1 app/views/amalgam/admin/pages/_form.html.haml
amalgam-2.1.3 app/views/amalgam/admin/pages/_form.html.haml
amalgam-2.1.2 app/views/amalgam/admin/pages/_form.html.haml
amalgam-2.1.1 app/views/amalgam/admin/pages/_form.html.haml