- sub_header('Edit Page', @page.name)

= resource_form(@page, :url => path(:page, :id => params[:id]), :method => :put) do |f|
  = content do
    - @page.each do |slug, type, name, val|
      %div.field
        = label(name, slug)
        = contents_field(slug, type, val)

  = footer do
    = cancel_button(@page, path(:pages))
    = save_button

- sub_header('Content', path(:pages))
- prefixed_sub_header('Edit Page', @page.name)

= resource_form(@page, :url => path(:page, :id => params[:id]), :method => :put) do |f|
  = content do
    - @page.each do |slug, type, name, val|
      %div.field
        = label(name, slug)
        = contents_field(slug, type, val)

  = footer do
    = cancel_button(@page, path(:pages))
    = save_button

Fix header for page content edit form.
Fix header for page content edit form.
