Sha256: 1314d307f1ce5477b92b6c68a371ee0f4f2a37c84095c276469afc941f240b95

Contents?: true

Size: 693 Bytes

Versions: 3

Compression:

Stored size: 693 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>
    <% published.diff(current).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

3 entries across 3 versions & 1 rubygems

Version Path
review_and_approve-0.0.2 app/views/review_and_approve/_delta.html.erb
review_and_approve-0.0.1 app/views/review_and_approve/_delta.html.erb
review_and_approve-0.0.1.alpha app/views/review_and_approve/_delta.html.erb