aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2017-04-24 22:26:05 +0300
committerFilipp Lepalaan <filipp@mac.com>2017-04-24 22:26:05 +0300
commit5934831e5921b78651418a589da3c67ed320a309 (patch)
treee396f3034e94999939fa2f3f5ae2f2d1daf509c3 /servo/templates
parent0ff21402fa711c3e865a7c8b8b715d7dfac2f9fd (diff)
downloadServo-5934831e5921b78651418a589da3c67ed320a309.tar.gz
Servo-5934831e5921b78651418a589da3c67ed320a309.tar.bz2
Servo-5934831e5921b78651418a589da3c67ed320a309.zip
Added PDF attachment to note form
Diffstat (limited to 'servo/templates')
-rwxr-xr-xservo/templates/notes/form.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/servo/templates/notes/form.html b/servo/templates/notes/form.html
index ae0f019..d471385 100755
--- a/servo/templates/notes/form.html
+++ b/servo/templates/notes/form.html
@@ -50,7 +50,14 @@
{% include "form_field_snippet.html" with field=form.subject %}
{% include "form_field_snippet.html" with field=form.sender %}
{% include "form_field_snippet.html" with field=form.body %}
- {% include "form_field_snippet.html" with field=form.is_reported %}
+ {% if note.order %}
+ <table>
+ <tr>
+ <td>{% include "form_field_snippet.html" with field=form.is_reported %}</td>
+ <td>{% include "form_field_snippet.html" with field=form.attach_confirmation %}</td>
+ </tr>
+ </table>
+ {% endif %}
{{ form.type }}
</div>
<div class="tab-pane" id="tab2">