<% if preview %>
  <h1>PREVIEW ONLY</h1>
<% end %>

<p class="heading"><strong><u><%= t '.heading' %></u></strong></p>

<dl>
  <%= description_list_pair t('.description_labels.producer'), releasable.project.account.name %>
  <%= description_list_pair t('.description_labels.production'), releasable.project.name %>
  <%= description_list_pair t('.description_labels.issued_to'), releasable.name %>
  <%= description_list_pair t('.description_labels.issued_by'), releasable.approved_by_user_name %>
  <%= description_list_pair t('.description_labels.date_issued'), releasable.approved_at %>
</dl>

<% if preview %>
  <%= image_tag dummy_signature %>
<% elsif releasable.approved_by_user_signature.attached? %>
  <%= image_tag releasable.approved_by_user_signature.variant(auto_orient: true, resize: "200x200") %>
<% end %>
