<%= semantic_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
  <% end %>

  <hr>

  <div class="row-fluid">

    <div class="span8">

      <h3>Parts</h3>

      <section class="accordion" id="parts">

        <% f.object.parts.replace f.object.parts.sort_by(&:order) %>

        <%= f.semantic_fields_for :parts do |part| %>
          <%= render :partial => '/admin/shared/part', :locals => {:f => part, :editable => false } %>
        <% end %>

      </section>

    </div>

    <div class="span4">
      <h3>Govspeak help</h3>

      <div class="well">
        <%= render "../shared/govspeak_help" %>
      </div>
    </div>
  </div>
<% end %>

<%= semantic_nested_form_for @resource, :url => admin_edition_path(@resource), :as => :edition do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'admin/shared/title_etc', :locals => {:f => f} %>
  <% end %>

  <hr>

  <div class="row-fluid">

    <div class="span8">

      <h3>Parts</h3>

      <section class="accordion" id="parts">

        <% f.object.parts.replace f.object.parts.sort_by(&:order) %>

        <%= f.semantic_fields_for :parts do |part| %>
          <%= render :partial => '/admin/shared/part', :locals => {:f => part, :editable => false } %>
        <% end %>

      </section>

    </div>

    <div class="span4">
      <h3>Govspeak help</h3>

      <div class="well">
        <%= render "../shared/govspeak_help" %>
      </div>
    </div>
  </div>
<% end %>

Make programmes form support nested forms
Make programmes form support nested forms

It needs to be a semantic_nested_form_for in order to support the remove link
