From 7665256c777c48087e4c332d8f2cf6a5091c6362 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Tue, 1 May 2018 17:23:45 +0200
Subject: [PATCH] Debug template

---
 submissions/templates/submissions/pool/editorial_page.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/submissions/templates/submissions/pool/editorial_page.html b/submissions/templates/submissions/pool/editorial_page.html
index 31a0d61ca..e45e1faa3 100644
--- a/submissions/templates/submissions/pool/editorial_page.html
+++ b/submissions/templates/submissions/pool/editorial_page.html
@@ -217,8 +217,8 @@
                                 </p>
                             </li>
                         {% endif %}
-                        {% if submission.eicrecommendations.active.first %}
-                            {% if submission.eicrecommendations.active.first.may_be_reformulated %}
+                        {% if submission.eicrecommendations.first %}
+                            {% if submission.eicrecommendations.first.may_be_reformulated %}
                                 <li><a href="{% url 'submissions:reformulate_eic_recommendation' submission.arxiv_identifier_w_vn_nr %}">Reformulate Editorial Recommendation</a></li>
                             {% endif %}
                         {% endif %}
-- 
GitLab