Spaces:
Runtime error
Runtime error
Vinay Jose
commited on
Update edit.html
Browse files- templates/edit.html +1 -3
templates/edit.html
CHANGED
@@ -28,9 +28,7 @@
|
|
28 |
<button>Save</button>
|
29 |
</fieldset>
|
30 |
</form>
|
31 |
-
<
|
32 |
-
<button>Delete Contact</button>
|
33 |
-
</form>
|
34 |
<p>
|
35 |
<a href="/contacts">Back</a>
|
36 |
</p>
|
|
|
28 |
<button>Save</button>
|
29 |
</fieldset>
|
30 |
</form>
|
31 |
+
<button hx-delete="/contacts/{{ contact.id }}">Delete Contact</button>
|
|
|
|
|
32 |
<p>
|
33 |
<a href="/contacts">Back</a>
|
34 |
</p>
|