home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor templates.
[plomtask]
/
templates
/
condition.html
diff --git
a/templates/condition.html
b/templates/condition.html
index 00aeedb6762f2d304b8784f116bce795ba350418..8e73e5ee5ec712f566271dc2ab8eb8347042048a 100644
(file)
--- a/
templates/condition.html
+++ b/
templates/condition.html
@@
-1,4
+1,5
@@
-{% extends 'base.html' %}
+{% extends '_base.html' %}
+{% import '_macros.html' as macros %}
@@
-23,9
+24,6
@@
<tr/>
</table>
<tr/>
</table>
-<input class="btn-harmless" type="submit" name="update" value="update" />
-<div class="btn-to-right">
-<input class="btn-dangerous" type="submit" name="delete" value="delete" />
-</div>
+{{ macros.edit_buttons() }}
{% endblock %}
{% endblock %}