From 5243100d7e5cba3072bada7bca272c3e4f3cd3c5 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 16 Feb 2026 10:40:30 +0000 Subject: [PATCH] Add conditional rendering for edit options in question actions dropdown --- .../anatomy/question_link_header.html | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/anatomy/templates/anatomy/question_link_header.html b/anatomy/templates/anatomy/question_link_header.html index 839f1e83..b06a0123 100644 --- a/anatomy/templates/anatomy/question_link_header.html +++ b/anatomy/templates/anatomy/question_link_header.html @@ -42,18 +42,19 @@ View -
  • - - Edit - -
  • - -
  • - - Edit Answers - -
  • + {% if can_edit %} +
  • + + Edit + +
  • +
  • + + Edit Answers + +
  • + {% endif %}
  • Clone