diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-15 15:02:06 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-15 15:02:06 +0300 |
commit | 5995558bf34f43b7dc5e99dee25e449b4c691988 (patch) | |
tree | 7134bab1964ea62bfff10aa2ee44827ecaf2e225 /servo | |
parent | 08155df685f2d52cee1ec3ef0761e794f36a1bc6 (diff) | |
download | Servo-5995558bf34f43b7dc5e99dee25e449b4c691988.tar.gz Servo-5995558bf34f43b7dc5e99dee25e449b4c691988.tar.bz2 Servo-5995558bf34f43b7dc5e99dee25e449b4c691988.zip |
Smaller textarea for checklist items
Diffstat (limited to 'servo')
-rw-r--r-- | servo/models/queue.py | 2 | ||||
-rw-r--r-- | servo/templates/admin/checklist/form.html | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/servo/models/queue.py b/servo/models/queue.py index 28d04c3..4b6c2a9 100644 --- a/servo/models/queue.py +++ b/servo/models/queue.py @@ -28,7 +28,7 @@ class Queue(models.Model): locations = models.ManyToManyField( Location, - null=True, + blank=True, verbose_name=_('locations'), help_text=_("Pick the locations you want this queue to appear in.") ) diff --git a/servo/templates/admin/checklist/form.html b/servo/templates/admin/checklist/form.html index 3b44576..25c82da 100644 --- a/servo/templates/admin/checklist/form.html +++ b/servo/templates/admin/checklist/form.html @@ -29,3 +29,11 @@ </div> </form> {% endblock third_column %} + +{% block media %} + <style type="text/css"> + textarea { + height: 50px; + } + </style> +{% endblock media %}
\ No newline at end of file |