Sha256: f7950719ffcb140a565b968f2a584a93c4aea1ce57240e6fc3db89615937bd66

Contents?: true

Size: 753 Bytes

Versions: 11

Compression:

Stored size: 753 Bytes

Contents

<h1>Listing people</h1>

<table>
  <tr>
    <th>First name</th>
    <th>Last name</th>
    <th>Age</th>
    <th>Date of birth</th>
    <th>Gender</th>
    <th>Alive</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @people.each do |person| %>
  <tr>
    <td><%= person.first_name %></td>
    <td><%= person.last_name %></td>
    <td><%= person.age %></td>
    <td><%= person.date_of_birth %></td>
    <td><%= person.gender %></td>
    <td><%= person.alive %></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

11 entries across 11 versions & 1 rubygems

Version Path
jtable-rails-0.2.5 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.2.4 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.2.3 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.2.2 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.2.1 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.2.0 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.1.4 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.1.3 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.1.2 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.1.1 spec/support/rails_app/app/views/people/index.html.erb
jtable-rails-0.1.0 spec/support/rails_app/app/views/people/index.html.erb