Sha256: 3d906b170c30402a76aa2bd2428d00a3fff01e7b452a1665215135580ac76058

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

Stored size: 1017 Bytes

Contents

<h1 class='fine_print heading'>Signatures for <%= link_to "#{@contract.title} (v.#{@contract.version})", @contract %></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>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.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 'List', contracts_path, :class => 'fine_print link' %>
  </div>
  
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fine_print-2.0.3 app/views/fine_print/signatures/index.html.erb
fine_print-2.0.2 app/views/fine_print/signatures/index.html.erb
fine_print-2.0.1 app/views/fine_print/signatures/index.html.erb
fine_print-2.0.0 app/views/fine_print/signatures/index.html.erb