diff options
Diffstat (limited to 'app/templates/modules/ferti.html')
-rw-r--r-- | app/templates/modules/ferti.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/templates/modules/ferti.html b/app/templates/modules/ferti.html index 549059b..7e1e2b3 100644 --- a/app/templates/modules/ferti.html +++ b/app/templates/modules/ferti.html @@ -67,10 +67,12 @@ Logger {% for log in logs %} <tr> <td> - <button>edit</button> + <form method="post" action="{{ url_for('common.edit_item', module='ferti', table='FertiLog', pk=log.primary_key) }}"> + <button>edit</button> + </form> </td> <td> - <form method="post" action="{{ url_for('modules.delete_item', pk=log.primary_key, table='Fertilog' ) }}"> + <form method="post" action="{{ url_for('common.delete_item', module='ferti', table='FertiLog', pk=log.primary_key) }}"> <button>delete</button> </form> </td> |