Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Better Guest Show

  • Loading branch information...
commit 3c4c75f93b75cd236a89339dac3244ae204a8c0c 1 parent 51eb22d
@chrismar035 authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 app/views/guests/show.html.haml
View
10 app/views/guests/show.html.haml
@@ -1,12 +1,18 @@
-= link_to "Back to Guest List", guests_path
+%p
+ = link_to "Back to Guest List", guests_path
+%h3
+ = @guest.full_friendly_name
%p
#{@guest.email}
%br
#{@guest.address}
%br
#{@guest.city}, #{@guest.state} #{@guest.zip}
- %br
+%p
Guests Attending: #{@guest.count}
+ %br
+ And Guest?
+ = @guest.and_guest ? 'Yes' : 'No'
=link_to "Edit", edit_guest_path(@guest)
=link_to "Delete", guest_path(@guest), :confirm => "Are you sure?", :method => 'delete'
Please sign in to comment.
Something went wrong with that request. Please try again.