From f111384fcfe496f6c45df4f7482e1493e2d621e3 Mon Sep 17 00:00:00 2001 From: Dan LaManna Date: Tue, 2 Dec 2025 11:46:25 -0500 Subject: [PATCH] Improve the layout of the single accession upload form --- .../templates/ingest/upload_accession.html | 66 ++++++++++--------- 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/isic/ingest/templates/ingest/upload_accession.html b/isic/ingest/templates/ingest/upload_accession.html index 36064058..ccbccccc 100644 --- a/isic/ingest/templates/ingest/upload_accession.html +++ b/isic/ingest/templates/ingest/upload_accession.html @@ -2,41 +2,43 @@ {% block content %} -
Upload to {{ cohort.name }}
+
+
Upload to {{ cohort.name }}
- {{ form.media }} -
- {% csrf_token %} + {{ form.media }} + + {% csrf_token %} -
- {{ form.original_blob.errors }} - {{ form.original_blob.label }} - {{ form.original_blob }} -
+
+ {{ form.original_blob.errors }} + + {{ form.original_blob }} +
-
+
- {% for field in form %} - {% if field.name != 'original_blob' %} -
- {{ field.errors }} - {{ field.label }} - {% if field.name == 'age' %} - {{ field }} - {% else %} - - {% endif %} -
- {% endif %} - {% endfor %} + {% for field in form %} + {% if field.name != 'original_blob' %} +
+ {{ field.errors }} + + {% if field.name == 'age' %} + + {% else %} + + {% endif %} +
+ {% endif %} + {% endfor %} - -
+ + +
{% endblock %}