From b26d31b216c608168ccdb783897804cb12150e0d Mon Sep 17 00:00:00 2001 From: Ross Date: Sun, 26 Oct 2025 20:46:16 +0000 Subject: [PATCH] Refactor docker-compose.yml to mount the entire repository and update question_review_form.html to render radio buttons for status choices. --- docker/docker-compose.yml | 4 +--- generic/templates/generic/partials/question_review_form.html | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index cf18cca5..a9992cd5 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -13,9 +13,7 @@ services: command: python manage.py runserver 0.0.0.0:8000 #command: pip install -r requirements.txt volumes: - - ../rad/:/usr/src/rad/ - - ../rts/:/usr/src/rad/rts - - ../Viewers/platform/app/dist/:/usr/src/rad/viewer + - ../:/usr/src/app # mount the whole repo into the container - ./backups:/usr/src/backups - ./media:/usr/src/media - ./static:/usr/src/static diff --git a/generic/templates/generic/partials/question_review_form.html b/generic/templates/generic/partials/question_review_form.html index a8b4d8c6..10bc56e4 100644 --- a/generic/templates/generic/partials/question_review_form.html +++ b/generic/templates/generic/partials/question_review_form.html @@ -12,6 +12,7 @@ {% with current_status=form.status.value %} {% for radio in form.status %} {% comment %} Render colored button for each choice by checking value {% endcomment %} + {{ radio.tag }} {% endfor %} {% endwith %}