diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-08-04 10:11:24 +0300 |
commit | 63b0fc6269b38edf7234b9f151b80d81f614c0a3 (patch) | |
tree | 555de3068f33f8dddb4619349bbea7d9b7c822fd /servo/templates/repairs/add_part.html | |
download | Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.gz Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.tar.bz2 Servo-63b0fc6269b38edf7234b9f151b80d81f614c0a3.zip |
Initial commit
First public commit
Diffstat (limited to 'servo/templates/repairs/add_part.html')
-rwxr-xr-x | servo/templates/repairs/add_part.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/servo/templates/repairs/add_part.html b/servo/templates/repairs/add_part.html new file mode 100755 index 0000000..2236631 --- /dev/null +++ b/servo/templates/repairs/add_part.html @@ -0,0 +1,22 @@ +{% extends "modal.html" %} +{% load i18n %} + +{% block header %} + {% blocktrans with repair=repair.confirmation %}Add part to repair {{ repair }}?{% endblocktrans %} +{% endblock header %} + +{% block body %} +<form method="post" action="{{ action }}"> + <div class="media"> + <a class="pull-left" href="#"> + <img class="media-object" src="{{ item.product.get_photo }}" style="width:120px"/> + </a> + <div class="media-body"> + <h4 class="media-heading">{{ item.code }}</h4> + <p>{{ item.title }}</p> + <p>{{ item.get_comptia_code_display }}, {{ item.get_price_category_display }}</p> + </div> + </div> + {% csrf_token %} +</form> +{% endblock body %} |