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>&nbsp;</td>
      <th>State</th>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
  </thead>

  <tbody>
    <% @locations.each do |location| %>
      <tr>
        <td><%= location.test_country %></td>
        <td>&nbsp;</td>
        <td><%= location.test_state %></td>
        <td>&nbsp;</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

Version Path
country_state_select-3.0.3 test/dummy/app/views/locations/index.html.erb
country_state_select-3.0.2 test/dummy/app/views/locations/index.html.erb
country_state_select-3.0.1 test/dummy/app/views/locations/index.html.erb
country_state_select-3.0.0 test/dummy/app/views/locations/index.html.erb