aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/notes
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-05-19 20:28:09 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-05-19 20:28:09 +0300
commit32906d5bbc8afdbb1017fd7339315fafe2394007 (patch)
treecd32f805590405bce9d5e97e5167c04d1e884e1e /servo/templates/notes
parentce8012b7e4651eb3fa09849c3cef6fd027da87b6 (diff)
downloadServo-32906d5bbc8afdbb1017fd7339315fafe2394007.tar.gz
Servo-32906d5bbc8afdbb1017fd7339315fafe2394007.tar.bz2
Servo-32906d5bbc8afdbb1017fd7339315fafe2394007.zip
Make note type field editable
Diffstat (limited to 'servo/templates/notes')
-rwxr-xr-xservo/templates/notes/form.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/servo/templates/notes/form.html b/servo/templates/notes/form.html
index d471385..a5e05c6 100755
--- a/servo/templates/notes/form.html
+++ b/servo/templates/notes/form.html
@@ -36,8 +36,9 @@
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">{% trans "Note" %}</a></li>
<li><a href="#tab2" data-toggle="tab">{% trans "Attachments" %}</a></li>
- <li><a href="#tab3" data-toggle="tab">{% trans "Labels" %}</a></li>
+ <li><a href="#tab5" data-toggle="tab">{% trans "Message" %}</a></li>
<li><a href="#tab4" data-toggle="tab">{% trans "Escalation" %}</a></li>
+ <li><a href="#tab3" data-toggle="tab">{% trans "Labels" %}</a></li>
</ul>
{{ formset.management_form }}
{{ form.order }}
@@ -46,9 +47,7 @@
{% endif %}
<div class="tab-content">
<div class="tab-pane active" id="tab1">
- {% include "form_field_snippet.html" with field=form.recipient %}
- {% 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.type %}
{% include "form_field_snippet.html" with field=form.body %}
{% if note.order %}
<table>
@@ -58,7 +57,11 @@
</tr>
</table>
{% endif %}
- {{ form.type }}
+ </div>
+ <div class="tab-pane" id="tab5">
+ {% include "form_field_snippet.html" with field=form.recipient %}
+ {% include "form_field_snippet.html" with field=form.subject %}
+ {% include "form_field_snippet.html" with field=form.sender %}
</div>
<div class="tab-pane" id="tab2">
{% for f in formset %}