Spaces:
Runtime error
Runtime error
Vinay Jose
commited on
Create show.html
Browse files- 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 %}
|