From 40705e5a342ffdc18aef98c28ec85eac7779daf1 Mon Sep 17 00:00:00 2001
From: Sander Ferdinand
Date: Thu, 28 Jun 2018 13:47:44 +0200
Subject: [PATCH] Allow admins to edit proposals
---
wowfunding/templates/proposal.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wowfunding/templates/proposal.html b/wowfunding/templates/proposal.html
index 6031d84..bbc1b4f 100644
--- a/wowfunding/templates/proposal.html
+++ b/wowfunding/templates/proposal.html
@@ -17,7 +17,7 @@
- {% if proposal.user.username == current_user.username %}
+ {% if proposal.user.username == current_user.username or current_user.admin %}