added template stuff

This commit is contained in:
Kyle Roux 2017-05-16 11:05:51 -07:00
commit a3d6fb2547
3 changed files with 2 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
book.sqlite

2
app.py
View File

@ -118,8 +118,6 @@ def search():
def contacts_delete():
'''
Delete contact
:param id: Id from contact
'''
try:
mi_contacto = Contact.query.filter_by(id=request.form['id']).first()

View File

@ -1,4 +1,3 @@
{% extends 'web/contact_form.html' %}
{% block title %}Edit contact{% endblock %}
{% block form_action %}{{ url_for('edit_contact', id=contact_id) }}{% endblock %}
{% block form_action %}{{ url_for('edit_contact', id=contact_id) }}{% endblock %}