added template stuff
This commit is contained in:
commit
a3d6fb2547
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
book.sqlite
|
2
app.py
2
app.py
@ -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()
|
||||
|
@ -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 %}
|
Loading…
Reference in New Issue
Block a user