Sha256: fa8dc0e9c8342bc4611b8e08eff83589efb27e74f2f6332ca6b08d99c9c5f0b7

Contents?: true

Size: 944 Bytes

Versions: 5

Compression:

Stored size: 944 Bytes

Contents

<h1 class='fine_print heading'>Contract Signatures</h1>

<table class='fine_print index'>
  <tr class='fine_print heading-row'>
    <th>User ID</th>
    <th>Contract name</th>
    <th>Contract version</th>
    <th>Date accepted</th>
    <th></th>
  </tr>

<% @signatures.each do |signature| %>
  <tr class='fine_print data-row <%= cycle('even', 'odd') %>'>
    <td><%= signature.user.id %></td>
    <td><%= signature.contract.name %></td>
    <td><%= signature.contract.version %></td>
    <td><%= signature.created_at %></td>
    <td><%= link_to 'Terminate', 
                    signature, 
                    method: :delete, 
                    data: { 
                      confirm: 'User will be asked to accept the contract again. Are you sure?' 
                    }, 
                    :class => 'fine_print link' %>
    </td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'Overview', root_path, :class => 'fine_print link' %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fine_print-1.3.0 app/views/fine_print/signatures/index.html.erb~
fine_print-1.2.0 app/views/fine_print/signatures/index.html.erb~
fine_print-1.1.1 app/views/fine_print/signatures/index.html.erb~
fine_print-1.1.0 app/views/fine_print/signatures/index.html.erb~
fine_print-1.0.0 app/views/fine_print/signatures/index.html.erb~