Sha256: 3ff4003f5eba9774a6adaa3c1f6da8f9a3fb1d6ff229bb002b86e4b35513e82f

Contents?: true

Size: 578 Bytes

Versions: 45

Compression:

Stored size: 578 Bytes

Contents

<h1>Listing people</h1>


<%= list -%>

<table>
  <tr>
    <th>Name</th>
    <th>Born on</th>
    <th>Height</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @people.each do |person| %>
  <tr>
    <td><%= person.name %></td>
    <td><%= person.born_on %></td>
    <td><%= person.height %></td>
    <td><%= link_to 'Show', person %></td>
    <td><%= link_to 'Edit', edit_person_path(person) %></td>
    <td><%= link_to 'Destroy', person, confirm: 'Are you sure?', method: :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Person', new_person_path %>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
active_list-6.1.2 test/dummy/app/views/people/index.html.erb
active_list-6.1.1 test/dummy/app/views/people/index.html.erb
active_list-6.1.0 test/dummy/app/views/people/index.html.erb
active_list-6.0.1 test/dummy/app/views/people/index.html.erb
active_list-6.0.0 test/dummy/app/views/people/index.html.erb