From 1b2ac2daf85a7adff12901397a72cabd8aeac846 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Tue, 1 May 2018 17:25:24 +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 e45e1faa3..97d46eff0 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.first %}
-                            {% if submission.eicrecommendations.first.may_be_reformulated %}
+                        {% if submission.eicrecommendations.last %}
+                            {% if submission.eicrecommendations.last.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