From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/devices/form.html | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 servo/templates/devices/form.html (limited to 'servo/templates/devices/form.html') diff --git a/servo/templates/devices/form.html b/servo/templates/devices/form.html new file mode 100755 index 0000000..8682101 --- /dev/null +++ b/servo/templates/devices/form.html @@ -0,0 +1,44 @@ +{% extends "devices/view.html" %} +{% load i18n %} + +{% block fourth_column %} +
+ {% csrf_token %} + +
+
+ {% include "form_field_snippet.html" with field=form.description %} + {% include "form_field_snippet.html" with field=form.sn %} + {% include "form_field_snippet.html" with field=form.warranty_status %} + {% include "form_field_snippet.html" with field=form.username %} + {% include "form_field_snippet.html" with field=form.password %} +
+
+ {% include "form_field_snippet.html" with field=form.purchased_on %} + {% include "form_field_snippet.html" with field=form.brand %} + {% include "form_field_snippet.html" with field=form.reseller %} + {% include "form_field_snippet.html" with field=form.product_line %} + {% include "form_field_snippet.html" with field=form.configuration %} +
+ +
+ +
+ {% for t in device.tags.all %} +
{{ t.tag }}
+ {% endfor %} +
+
+
+ {% include "form_field_snippet.html" with field=form.photo %} + {% include "form_field_snippet.html" with field=form.notes %} + {% include "form_field_snippet.html" with field=form.has_onsite %} + {% include "form_field_snippet.html" with field=form.is_vintage %} +
+
+ {% include "form_buttons.html" %} +
+{% endblock fourth_column %} -- cgit v1.2.3