Sha256: cdb9932fa5bb55dc283aa0434fa035534260a2a80964c9b7d523a75777758ae8
Contents?: true
Size: 1.01 KB
Versions: 8
Compression:
Stored size: 1.01 KB
Contents
<h1>Listing addresses</h1> <table> <tr> <th>Address line 1</th> <th>Address line 2</th> <th>City</th> <th>State</th> <th>Postal code</th> <th>Country</th> <th>Telephone number</th> <th></th> <th></th> <th></th> </tr> <% @addresses.each do |address| %> <tr> <td><%= address.address_line_1 %></td> <td><%= address.address_line_2 %></td> <td><%= address.city %></td> <td><%= address.state %></td> <td><%= address.postal_code %></td> <td><%= address.country %></td> <td><%= address.telephone_number %></td> <td><%= link_to 'Show', address %></td> <td><%= link_to 'Edit', edit_address_path(address) %></td> <td><%= link_to 'Destroy', address, confirm: 'Are you sure?', method: :delete %></td> </tr> <% end %> </table> <br /> <p> <%= gmaps("map_options" => { "center_longitude" => 180, "zoom" => 1, "auto_adjust" => true}, "markers" => {"data" => @json, "options" => {"rich_marker" => true } }) %> </p> <%= link_to 'New Address', new_address_path %>
Version data entries
8 entries across 8 versions & 1 rubygems