aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates/admin/locations
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-09-22 00:01:26 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-09-22 00:01:26 +0300
commit4fa02443f76991c361bd69b042e4991ec7820554 (patch)
tree2be34e630c42ad0a0331954de88882cdbbdb6f0a /servo/templates/admin/locations
parentb09a4a45552a96f1cdfd3f22e7465da9856aa2d0 (diff)
downloadServo-4fa02443f76991c361bd69b042e4991ec7820554.tar.gz
Servo-4fa02443f76991c361bd69b042e4991ec7820554.tar.bz2
Servo-4fa02443f76991c361bd69b042e4991ec7820554.zip
Added manager field to location
Diffstat (limited to 'servo/templates/admin/locations')
-rw-r--r--servo/templates/admin/locations/form.html12
1 files changed, 8 insertions, 4 deletions
diff --git a/servo/templates/admin/locations/form.html b/servo/templates/admin/locations/form.html
index 0fad2bc..e3b1a81 100644
--- a/servo/templates/admin/locations/form.html
+++ b/servo/templates/admin/locations/form.html
@@ -4,6 +4,7 @@
{% block third_column %}
<ul class="nav nav-tabs">
<li class="active"><a href="#tab1" data-toggle="tab">{% trans "General" %}</a></li>
+ <li><a href="#details" data-toggle="tab">{% trans "Details" %}</a></li>
<li><a href="#tab3" data-toggle="tab">{% trans "GSX" %}</a></li>
</ul>
@@ -17,9 +18,12 @@
{% include "form_field_snippet.html" with field=form.address %}
{% include "form_field_snippet.html" with field=form.zip_code %}
{% include "form_field_snippet.html" with field=form.city %}
+ {% include "form_field_snippet.html" with field=form.enabled %}
+ </div>
+ <div class="tab-pane" id="details">
+ {% include "form_field_snippet.html" with field=form.manager %}
{% include "form_field_snippet.html" with field=form.timezone %}
{% include "form_field_snippet.html" with field=form.notes %}
- {% include "form_field_snippet.html" with field=form.enabled %}
</div>
<div class="tab-pane" id="tab3">
{% include "form_field_snippet.html" with field=form.gsx_shipto %}
@@ -28,11 +32,11 @@
</div>
</div>
<div class="form-actions">
- {% if location.pk %}
+ {% if location.pk %}
<a class="btn btn-danger" data-modal="#modal" href="{% url 'admin-delete_location' location.pk %}">{% trans "Delete" %}</a>
- {% else %}
+ {% else %}
<a class="btn btn-danger disabled">{% trans "Delete" %}</a>
- {% endif %}
+ {% endif %}
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
</div>
</form>