Sha256: dd26ce49b7c5b40d49fb95c6c9e297f10f1c6a6b6111a828c903339eb1079200

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

%h1 Editing page      %li= link_to 'Edit Access', access_control_entries_path(:resource_class=>"Page", :resource_id=>@page.id)


= render 'form'

= content_for :sidebar do
  %ul#attachments_list
    %li.sidebar_title Files
    - @page.attachments.each do |attachment|
      = render :partial => "attachments/show", :locals=>{:a=>(@attachment=attachment)}
  = render :partial=>'attachments/form'

  = form_for form_object, :url=>form_url, :remote=>true do |f|
    = select_tag :child_id, options_for_select(to_html_options(Page.orphans))
    = f.submit "Add Child"

= link_to 'Show', @page
\|
= link_to 'Back', pages_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wheels-0.0.24 app/views/pages/edit.html.haml