From 4a563d81ac6eaaab45460e72307b2815abab4a44 Mon Sep 17 00:00:00 2001 From: Paul Vudmaska Date: Sun, 12 Jul 2009 12:16:46 -0500 Subject: [PATCH] updated readme - added breed to view --- README | 4 ++-- app/views/pets/_pets.html.haml | 5 +++++ app/views/pets/show.html.haml | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README b/README index 9a97952..230936a 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -== Welcome to lost and found pets and dogs +== Welcome to lost and found dogs and cats This is a little Ruby on Rails app I wrote for the Twilio / Heroku contest. @@ -80,7 +80,7 @@ sudo gem install will_paginate sudo gem install haml -Some software I used/stole +Some other software I used/stole * http://github.com/webficient/twilio/tree/master a nice gem/plugin for programatically generating xml with Twilio classes diff --git a/app/views/pets/_pets.html.haml b/app/views/pets/_pets.html.haml index 15ef38f..b694532 100644 --- a/app/views/pets/_pets.html.haml +++ b/app/views/pets/_pets.html.haml @@ -10,6 +10,11 @@ , = pet.no_name , + Breed is + ' + = pet.breed + ' + , = pet.sex , = pet.weight diff --git a/app/views/pets/show.html.haml b/app/views/pets/show.html.haml index 4a7cdb7..dfccbde 100644 --- a/app/views/pets/show.html.haml +++ b/app/views/pets/show.html.haml @@ -12,6 +12,9 @@ %p %strong Lost Or Found: =h @pet.lost_or_found +%p + %strong Breed: + =h @pet.breed %p %strong Color: =h @pet.color