From abe2995da042fe4a41aee93574d126ec548a38d1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 09 2015 10:44:53 +0000 Subject: Hide the form to create pull-requests if the user is not an admin of the repo --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index ea85aca..67aaabc 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -60,7 +60,7 @@ {% endif %} -{% if form %} +{% if form and repo_admin %}