<% if curation_concern.embargo_release_date %>
<%= f.submit "Update Embargo", class: 'btn btn-primary' %>
<%= link_to "Deactivate Embargo", embargo_path(curation_concern), :method => :delete, class: 'btn btn-danger' %>
<% else %>
<%= f.submit "Apply Embargo", class: 'btn btn-primary' %>
<% end %>
<%= link_to 'Cancel and manage all embargoes', embargoes_path, class: 'btn btn-default' %>
<%= link_to "Return to editing this #{curation_concern.human_readable_type}", edit_polymorphic_path([:curation_concerns, curation_concern]), class: 'btn btn-default' %>
<% end %>