<%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
    <%= render :partial => 'shared/video', :locals => {:f => f} %>

    <%= f.inputs "Caption file" do %>
      <% if @edition.caption_file %>
        <div class="uploaded-caption-file">
          <h4>Current caption file</h4>
          <p><%= link_to @edition.caption_file.name, @edition.caption_file.file_url %></p>
          <p><%= label_tag do %>Remove caption file? <%= check_box_tag "edition[remove_caption_file]", "1" %><% end %></p>
        </div>

        <h4>Replace caption file</h4>
      <% end %>

      <p><%= f.input :caption_file, :as => :file, :label => "Upload a new caption file" %></p>
    <% end %>
    <hr />

    <%= f.input :body, :as => :text, :input_html => { :class => 'col-md-7', :disabled => @resource.locked_for_edits? } %>
  <% end %>
<% end %>

<%= semantic_form_for @resource, :url => edition_path(@resource), :as => :edition, :html => { :id => 'edition-form' } do |f| %>
  <%= f.inputs do %>
    <%= render :partial => 'shared/title_etc', :locals => {:f => f} %>
    <%= render :partial => 'shared/video', :locals => {:f => f} %>

    <%= f.inputs "Caption file" do %>
      <% if @edition.caption_file %>
        <div class="uploaded-caption-file">
          <h4>Current caption file</h4>
          <p><%= link_to @edition.caption_file.name, @edition.caption_file.file_url %></p>
          <p><%= label_tag do %>Remove caption file? <%= check_box_tag "edition[remove_caption_file]", "1" %><% end %></p>
        </div>

        <h4>Replace caption file</h4>
      <% end %>

      <p><%= f.input :caption_file, :as => :file, :label => "Upload a new caption file" %></p>
    <% end %>
    <hr />

    <div class="row">
      <div class="col-md-10">
        <%= f.input :body, :as => :text, :input_html => { :disabled => @resource.locked_for_edits? } %>
      </div>
    </div>
  <% end %>
<% end %>

Change bootstrap grid classes for video form
Change bootstrap grid classes for video form
