Sha256: f4b29b3175326f08ac792356a810f0d96f5b41cd5e669dad8e4cdf31df4ee488
Contents?: true
Size: 602 Bytes
Versions: 3
Compression:
Stored size: 602 Bytes
Contents
<h1>Listing projects</h1> <table> <thead> <tr> <th>Name</th> <th>Content</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @projects.each do |project| %> <tr> <td><%= project.name %></td> <td><%= project.content %></td> <td><%= link_to 'Show', project %></td> <td><%= link_to 'Edit', edit_project_path(project) %></td> <td><%= link_to 'Destroy', project, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Project', new_project_path %>
Version data entries
3 entries across 3 versions & 1 rubygems