1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

Refactored add/edit, implemented editing a bookmark

This commit is contained in:
2016-07-22 20:37:50 +02:00
parent 1ba5b80e47
commit 8d1622ef41
2 changed files with 60 additions and 37 deletions

View File

@@ -28,7 +28,11 @@
</div>
{% endif %}
{% if formaction and formaction == 'edit' %}
<form action="{{ url_for('editingbookmark', userkey=userkey, urlhash=bookmark.url_hash) }}" method="POST">
{% else %}
<form action="{{ url_for('addingbookmark', userkey=userkey) }}" method="POST">
{% endif %}
<div class="input-field col s12">
<i class="material-icons prefix">description</i>