aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/repairs/check_parts.html
diff options
context:
space:
mode:
Diffstat (limited to 'servo/templates/repairs/check_parts.html')
-rwxr-xr-xservo/templates/repairs/check_parts.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/servo/templates/repairs/check_parts.html b/servo/templates/repairs/check_parts.html
new file mode 100755
index 0000000..519044e
--- /dev/null
+++ b/servo/templates/repairs/check_parts.html
@@ -0,0 +1,10 @@
+{% load servo_tags %}
+{% for p in parts %}
+ <label class="checkbox">
+ <input type="checkbox" {% if p.pk in checked_parts %}checked="checked"{% endif %} class="toggle_part" name="parts" value="{{ p.pk|safe }}"/><small><strong>{{ p.code }}</strong></small>
+ <small class="pull-right">{{ p.price|currency }}</small>
+ </label>
+ <small class="muted">{{ p.title }}</small><br/>
+ <small class="muted">{{ p.get_price_category_display }} - {{ p.warranty_status }}</small>
+ <hr class="dashed"/>
+{% endfor %}