From 1ad2e6bd59bce0774cb8a95795623d2d63d52685 Mon Sep 17 00:00:00 2001
From: Paul Selkirk <paul@psgd.org>
Date: Mon, 5 Jun 2023 21:10:08 -0400
Subject: [PATCH] fix: Don't use an uninitialized variable (#4771)

---
 ietf/templates/nomcom/feedback.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ietf/templates/nomcom/feedback.html b/ietf/templates/nomcom/feedback.html
index 6a7239118..92109456e 100644
--- a/ietf/templates/nomcom/feedback.html
+++ b/ietf/templates/nomcom/feedback.html
@@ -31,9 +31,9 @@
                             {% for np in p.nomineeposition_set.accepted.not_duplicated %}
                                 <a class="btn btn-primary position-relative"
                                    {% if nomcom.group.state_id != 'conclude' %}href="?nominee={{ np.nominee.id }}&amp;position={{ np.position.id }}"{% endif %}
-                                   title="{% if count %}{{ count }} earlier comment{{ count|pluralize }} from you {% else %}You have not yet provided feedback {% endif %} on {{ np.nominee.email.address }} as {{ np.position }}">
-                                    {{ np.nominee.name }}
                                     {% with count=counts|lookup:np.position.id|lookup:np.nominee.id %}
+                                       title="{% if count %}{{ count }} earlier comment{{ count|pluralize }} from you {% else %}You have not yet provided feedback {% endif %} on {{ np.nominee.email.address }} as {{ np.position }}">
+                                        {{ np.nominee.name }}
                                         <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
                                             {{ count | default:"0" }}
                                         </span>
@@ -99,4 +99,4 @@
             </div>
         </div>
     {% endif %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}