Sha256: 8abce743a07bc2cac1c9c781ced5b81e4e804dbf17abf710f012bbd5e072ef8a

Contents?: true

Size: 762 Bytes

Versions: 4

Compression:

Stored size: 762 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Addresses</h1>

<table>
  <thead>
    <tr>
      <th>Zipcode</th>
      <th>Neighborhood</th>
      <th>City</th>
      <th>State</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @addresses.each do |address| %>
      <tr>
        <td><%= address.zipcode %></td>
        <td><%= address.neighborhood %></td>
        <td><%= address.city %></td>
        <td><%= address.state %></td>
        <td><%= link_to 'Show', address %></td>
        <td><%= link_to 'Edit', edit_address_path(address) %></td>
        <td><%= link_to 'Destroy', address, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Address', new_address_path %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
autocomplete_zipcode-0.1.2 example/app/views/addresses/index.html.erb
autocomplete_zipcode-0.1.1 example/app/views/addresses/index.html.erb
autocomplete_zipcode-0.1.0 example/app/views/addresses/index.html.erb
autocomplete_zipcode-0.0.1 example/app/views/addresses/index.html.erb