From db045dbbf60b53dbe013ef25554fd013baf88134 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 24 Nov 2004 01:04:44 +0000 Subject: Initial git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/examples/address_book/index.rhtml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 actionpack/examples/address_book/index.rhtml (limited to 'actionpack/examples/address_book/index.rhtml') diff --git a/actionpack/examples/address_book/index.rhtml b/actionpack/examples/address_book/index.rhtml new file mode 100644 index 0000000000..217d39075c --- /dev/null +++ b/actionpack/examples/address_book/index.rhtml @@ -0,0 +1,33 @@ +

Address Book

+ +<% if @people.empty? %> +

No people in the address book yet

+<% else %> + + + <% for person in @people %> + + <% end %> +
NameEmail AddressPhone Number
<%= person.name %><%= person.email_address %><%= person.phone_number %>
+<% end %> + +
+

+ Name:
+ +

+ +

+ Email address:
+ +

+ +

+ Phone number:
+ +

+ +

+ +

+
\ No newline at end of file -- cgit v1.2.3