<div class="form-row">
  <%= form.file_field :contract, wrapper_class: "col-sm-6 required", accept: "application/pdf", direct_upload: true %>
  <%= form.hidden_field :contract, value: form.object.contract.signed_id if release.contract.attached? %>
</div>
<% if release.contract.attached? %>
  <p>
  <%= link_to release.contract do %>
    <%= fa_icon "file-text-o" %> <%= release.contract.filename %>
  <% end %>
  <span class="text-muted"><%= fa_icon "long-arrow-left" %> <em>Current contract</em></span>
  </p>
<% end %>
