<div class="card shadow-sm">
  <%= card_header text: t(".heading"), close_action_path: [@project, :medical_releases] %>
  <div class="card-body">
    <embed class="embeded-contract-preview" type="application/pdf" src="<%= url_for [@medical_release, :contracts, format: "pdf"] %>" width="90%" height="1200" />

    <%= bootstrap_form_with model: @medical_release, method: :post, url: medical_release_approvals_path(@medical_release), local: true do |form| %>
      <div class="row align-items-center text-center mt-4">
        <%= link_to t("shared.cancel"), [@medical_release.project, :medical_releases], class: "col-3 text-reset" %>
        <div class="col-9">
          <%= form.button t('.actions.approve'), id: "approve_release", class: class_string("btn btn-block btn-success btn-primary"), data: { disable_with: t("shared.disable_with") } %>
        </div>
      </div>
    <% end %>
  </div>
</div>