Sha256: cbcdc33f53a4ad45755f0f3c0202f6491c0f32b169db13f637656797f423b7c4

Contents?: true

Size: 675 Bytes

Versions: 2

Compression:

Stored size: 675 Bytes

Contents

<% published ||= {} %>
<% diff_keys = published.diff(current).keys %>
<div class="review_and_approve">
<% if diff_keys.count > 0 %>
  <table>
    <thead>
      <tr>
        <th scope="col" class="rounded-company">Field Name</th>
        <th scope="col" class="rounded-q1">Published Value</th>
        <th scope="col" class="rounded-q4">Current Value</th>
      </tr>
    </thead>
    <% diff_keys.each do |key| %>
    <tbody>
      <tr>
        <td><%= key %></td>
        <td><%= published[key] || "<BLANK>" %></td>
        <td><%= current[key] || "<BLANK>" %></td>
      </tr>
    </tbody>
    <% end %>
  </table>
<% else %>
  Latest version is published
<% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
review_and_approve-0.0.4 app/views/review_and_approve/_delta.html.erb
review_and_approve-0.0.3 app/views/review_and_approve/_delta.html.erb