summaryrefslogtreecommitdiffstats
path: root/templates/_macros.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_macros.html')
-rw-r--r--templates/_macros.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/_macros.html b/templates/_macros.html
index 1608c1f..58739ae 100644
--- a/templates/_macros.html
+++ b/templates/_macros.html
@@ -1,3 +1,15 @@
+{% macro render_submit() %}
+<div class="control-group">
+ <div class="controls">
+ <input type="submit"
+ {%- for key, value in kwargs.items() %}
+ {{key}}="{{value}}"
+ {% endfor %}
+ />
+ </div>
+</div>
+{%- endmacro %}
+
{% macro render_field(field) %}
<div class="control-group">
{{ field.label }}