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

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

<dl>
  <%= description_list_pair "#{t('.description_labels.amendment_clause')}:", releasable.contract_template.amendment_clause %>
  <%= description_list_pair "#{t('.description_labels.amendment_signer_name')}:", releasable.amendment_signer_name %>

  <dt><%= t('.description_labels.amendment_signature') %>:</dt>
  <dd>
    <% if preview %>
      <%= image_tag dummy_signature %>
    <% elsif releasable.amendment_signature.attached? %>
      <%= image_tag releasable.amendment_signature.variant(auto_orient: true, resize: "200x200") %>
    <% end %>
  </dd>
</dl>