<%= form_for supporting_page, url: supporting_page.persisted? ? admin_edition_supporting_page_path(@edition, supporting_page.id) : admin_edition_supporting_pages_path(@edition), as: disabled ? :disabled_supporting_page : :supporting_page do |form| %>
  <%= form.errors %>
  <%= form.hidden_field :lock_version %>
  <%= form.text_field :title, disabled: disabled %>
  <%= form.text_area :body, disabled: disabled, class: disabled ? "" : "previewable" %>

  <%= render partial: "admin/admin/attachment_fields", locals: { form: form, edition: supporting_page, parent_type: :supporting_page, show_inline_attachment_help: supporting_page.allows_inline_attachments? } %>

  <% unless disabled %>
    <%= form.save_or_cancel cancel: (supporting_page.new_record? ? admin_edition_path(@edition) : admin_supporting_page_path(supporting_page))%>
  <% end %>
<% end %>

<%= form_for supporting_page, url: supporting_page.persisted? ? admin_edition_supporting_page_path(@edition, supporting_page.id) : admin_edition_supporting_pages_path(@edition), as: disabled ? :disabled_supporting_page : :supporting_page do |form| %>
  <%= form.errors %>
  <%= form.hidden_field :lock_version %>
  <%= form.text_field :title, disabled: disabled %>
  <%= form.text_area :body, disabled: disabled, class: disabled ? "" : "previewable" %>

  <%= render partial: "admin/shared/attachment_fields", locals: { form: form, edition: supporting_page, parent_type: :supporting_page, show_inline_attachment_help: supporting_page.allows_inline_attachments? } %>

  <% unless disabled %>
    <%= form.save_or_cancel cancel: (supporting_page.new_record? ? admin_edition_path(@edition) : admin_supporting_page_path(supporting_page))%>
  <% end %>
<% end %>

Fix typo in form partial
Fix typo in form partial
