Vinay Jose commited on
Commit
4f6fb1c
·
unverified ·
1 Parent(s): 259598c

Create show.html

Browse files
Files changed (1) hide show
  1. templates/show.html +15 -0
templates/show.html ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {% extends 'layout.html' %}
2
+
3
+ {% block content %}
4
+
5
+ <h1>{{contact.first}} {{contact.last}}</h1>
6
+ <div>
7
+ <div>Phone: {{contact.phone}}</div>
8
+ <div>Email: {{contact.email}}</div>
9
+ </div>
10
+ <p>
11
+ <a href="/contacts/{{ contact.id }}/edit">Edit</a>
12
+ <a href="/contacts">Back</a>
13
+ </p>
14
+
15
+ {% endblock %}