<p>Hello,</p>

<p>
  Trade Tariff successfully applied <%= @count %> update(s) at <%= Time.now %>.
</p>

<p>Following updates were applied:</p>

<ul>
  <% @update_names.each do |update_name| %>
    <li><%= update_name %></li>
  <% end %>
</ul>

<% if @conformance_errors.any? %>
  <table>
    <thead>
      <tr>
        <td>Model</td>
        <td>Primary Key</td>
        <td>Details</td>
        <td>Errors</td>
      </tr>
    </thead>
    <tbody>
      <% @conformance_errors.each do |record| %>
        <tr>
          <td>
            <strong><%= record.class %></strong>
          </td>
          <td>
            <%= record.pk.inspect %>
          </td>
          <td>
            <%= record.values.inspect %>
          </td>
          <td>
            <%= record.inspect %>
          </td>
          <td>
            <ul>
              <% record.errors.each do |error_type, error_messages| %>
                <li>
                  <strong><%= error_type %></strong><br />
                </li>
                <% error_messages.each do |error_message| %>
                  <li>
                    <%= error_message %>
                  </li>
                <% end %>
              <% end %>
            </ul>
          <td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% else %>
  <p>
    <strong>No conformance errors found.</strong>
  </p>
<% end %>

<p>Hello,</p>

<p>
  Trade Tariff successfully applied <%= @count %> update(s) at <%= Time.now %>.
</p>

<p>Following updates were applied:</p>

<ul>
  <% @update_names.each do |update_name| %>
    <li><%= update_name %></li>
  <% end %>
</ul>

<% if @conformance_errors.any? %>
  <table>
    <thead>
      <tr>
        <th>Model</th>
        <th>Primary Key</th>
        <th>Details</th>
        <th>Errors</th>
      </tr>
    </thead>
    <tbody>
      <% @conformance_errors.each do |record| %>
        <tr>
          <td>
            <strong><%= record.class %></strong>
          </td>
          <td>
            <%= record.pk.inspect %>
          </td>
          <td>
            <%= record.values.inspect %>
          </td>
          <td>
            <ul>
              <% record.errors.each do |error_type, error_messages| %>
                <li>
                  <strong><%= error_type %></strong><br />
                </li>
                <% error_messages.each do |error_message| %>
                  <li>
                    <%= error_message %>
                  </li>
                <% end %>
              <% end %>
            </ul>
          <td>
        </tr>
      <% end %>
    </tbody>
  </table>
<% else %>
  <p>
    <strong>No conformance errors found.</strong>
  </p>
<% end %>

Remove one too many columns in update applied email
Remove one too many columns in update applied email
