Sha256: 97917ee5baf063d156888f0c6ec89e8926ac1df4bb5fd4ddc8e98e0477284be9
Contents?: true
Size: 641 Bytes
Versions: 4
Compression:
Stored size: 641 Bytes
Contents
<h1>Listing Locations</h1> <table> <thead> <tr> <th>Country</th> <td> </td> <th>State</th> <td> </td> <td> </td> </tr> </thead> <tbody> <% @locations.each do |location| %> <tr> <td><%= location.test_country %></td> <td> </td> <td><%= location.test_state %></td> <td> </td> <td><%= link_to "X", location, :method => :delete, data: { confirm: "Are you sure?" }, class: "btn btn-danger" %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Location', new_location_path, class: "btn btn-success" %>
Version data entries
4 entries across 4 versions & 1 rubygems