Sha256: 2c95e45d5e45f8781521b9a7fa80e0214964d7a3fd4fbc83047f6e9191edc5aa
Contents?: true
Size: 716 Bytes
Versions: 9
Compression:
Stored size: 716 Bytes
Contents
<h1>Documents</h1> <p><%= link_to('New Document', new_document_path) %></p> <h1>Disclaimer</h1> <% if @documents.empty? %> <p>There are currently no disclaimer documents</p> <% else %> <table> <tr> <th>Name</th> <th>Title</th> <th>Segments</th> <th colspan="3">Action</th> </tr> <% @documents.each do |document| %> <tr> <td><%= document.name %></td> <td><%= document.title %></td> <td><%= document.segments.collect{|d| d.name}.join(', ') %> <td><%= link_to('Show', document_path(document)) %></td> <td><%= link_to('Edit', edit_document_path(document)) %></td> <td><%= link_to('Delete', delete_document_path(document)) %></td> </tr> <% end %> </table> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems