Sha256: 8b6236ea0b5751c8d039f33598ed714f1e6f1a93aedd7451f8890e4d00984776

Contents?: true

Size: 861 Bytes

Versions: 6

Compression:

Stored size: 861 Bytes

Contents

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

<div class='fine_print show_contract'>
  <table class='fine_print left_heading'>
    <tr>
      <th>Name</th>
      <td><%= @contract.name %></td>
    </tr>
    <tr>
      <th>Title</th>
      <td><%= @contract.title %></td>
    </tr>
    <tr>
      <th>Version</th>
      <td><%= @contract.version.nil? ? 'Draft' : @contract.version %></td>
    </tr>
    <tr>
      <th>Updated at</th>
      <td><%= @contract.updated_at %></td>
    </tr>
    <tr>
      <th>Content</th>
      <td><%= @contract.content.html_safe %></td>
    </tr>
  </table>

  <div class='fine_print links'>
    <% if @contract.can_be_updated? %>
      <%= link_to 'Edit', edit_contract_path(@contract), :class => 'fine_print link' %> |
    <% end %>
    <%= link_to 'List', contracts_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/contracts/show.html.erb
fine_print-1.3.0 app/views/fine_print/contracts/show.html.erb
fine_print-1.2.0 app/views/fine_print/contracts/show.html.erb
fine_print-1.1.1 app/views/fine_print/contracts/show.html.erb
fine_print-1.1.0 app/views/fine_print/contracts/show.html.erb
fine_print-1.0.0 app/views/fine_print/contracts/show.html.erb