Sha256: 11018a3f35822bd84824fba839ba3318b10ca20bd7ae4fd9a50833b7ebc1df52

Contents?: true

Size: 711 Bytes

Versions: 107

Compression:

Stored size: 711 Bytes

Contents

<h1>Address Book</h1>

<% if @people.empty? %>
  <p>No people in the address book yet</p>
<% else %>
  <table>
    <tr><th>Name</th><th>Email Address</th><th>Phone Number</th></tr>
  <% for person in @people %>
    <tr><td><%= person.name %></td><td><%= person.email_address %></td><td><%= person.phone_number %></td></tr>
  <% end %>
  </table>
<% end %>

<form action="create_person">
  <p>
    Name:<br />
    <input type="text" name="person[name]">
  </p>

  <p>
    Email address:<br />
    <input type="text" name="person[email_address]">
  </p>

  <p>
    Phone number:<br />
    <input type="text" name="person[phone_number]">
  </p>

  <p>
    <input type="submit" value="Create Person">
  </p>
</form>

Version data entries

107 entries across 107 versions & 6 rubygems

Version Path
devise_sociable-0.1.0 vendor/bundle/gems/actionpack-1.4.0/examples/address_book/index.rhtml
jstorimer-deep-test-2.0.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-1.4.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-1.3.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-1.2.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-1.1.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-1.0.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-0.2.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
jstorimer-deep-test-0.1.0 sample_rails_project/vendor/rails/actionpack/examples/address_book/index.rhtml
actionpack-0.9.0 examples/address_book/index.rhtml
actionpack-0.9.5 examples/address_book/index.rhtml
actionpack-1.0.0 examples/address_book/index.rhtml
actionpack-1.1.0 examples/address_book/index.rhtml
actionpack-1.0.1 examples/address_book/index.rhtml
actionpack-1.11.0 examples/address_book/index.rhtml
actionpack-1.11.1 examples/address_book/index.rhtml
actionpack-1.12.0 examples/address_book/index.rhtml
actionpack-1.10.1 examples/address_book/index.rhtml
actionpack-1.11.2 examples/address_book/index.rhtml
actionpack-1.10.2 examples/address_book/index.rhtml