Sha256: 98c0be642e25f3a723962199c2e3ef36663c0a4b0076fa7beb01f5833fd0f51c

Contents?: true

Size: 1.08 KB

Versions: 6

Compression:

Stored size: 1.08 KB

Contents

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

<div class='fine_print signature_index'>

  <table class='fine_print top_heading 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>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fine_print-1.4.1 app/views/fine_print/signatures/index.html.erb
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