Sha256: 406b70cc6a76f8196f9c902e66b1f0fb81f5aaedacc8362c8c8df2ecd8726b11
Contents?: true
Size: 779 Bytes
Versions: 54
Compression:
Stored size: 779 Bytes
Contents
<% content_for :title do %>Institutions<% end %> <h1>Institutions</h1> <% @institutions.each do |institution| %> <article> <h1><%= institution.name %></h1> <p><%= institution.notes %></p> <div> <%= link_to 'Show', institution_path(institution) %> <%= link_to 'Edit', edit_institution_path(institution) %> <%= button_to 'Delete', institution_path(institution), method: :delete, data: { confirm: 'Do you really want to delete ' \ 'this institution?'} %> </div> </article> <% end %> <%= link_to 'New', new_institution_path %> <%= link_to 'Home', main_app.root_path %>
Version data entries
54 entries across 54 versions & 1 rubygems