aboutsummaryrefslogtreecommitdiffstats
path: root/templates/core/form.html
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
committerFilipp Lepalaan <f@230.to>2013-11-17 19:15:30 +0200
commit297419f370ea87458017ee506a2e551e9068b66b (patch)
tree429d3e1b6c7f2facfb3e361b4b708f0d36e8aac8 /templates/core/form.html
parentf077badf3163fc36c111dc45fe8d7d6f57d8712a (diff)
downloadmotor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.gz
motor.old-297419f370ea87458017ee506a2e551e9068b66b.tar.bz2
motor.old-297419f370ea87458017ee506a2e551e9068b66b.zip
Swicthing machines
Diffstat (limited to 'templates/core/form.html')
-rw-r--r--templates/core/form.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/core/form.html b/templates/core/form.html
new file mode 100644
index 0000000..4c1fb71
--- /dev/null
+++ b/templates/core/form.html
@@ -0,0 +1,13 @@
+{% extends "manage.html" %}
+{% load bootstrap3 %}
+{% load i18n %}
+
+{% block detail_view %}
+ <form method="post">
+ {% csrf_token %}
+ {% bootstrap_form form %}
+ {% buttons %}
+ <button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
+ {% endbuttons %}
+ </form>
+{% endblock detail_view %}