From 0c35e3e3d449c8fc471262991c6a1f28bbd04ee1 Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Apr 26 2018 08:43:07 +0000 Subject: Remove extra label in the template --- diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 23f2a27..68d55a0 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -681,16 +681,21 @@ requestid=requestid) }}" method="POST"> {{ mergeform.csrf_token }} - {% if can_delete_branch %} - - {% endif %} + + {% if can_delete_branch %} +
+ {{ mergeform.delete_branch }} {{ mergeform.delete_branch.label }} +
+ {% endif %} + {% else %} + {% endif %} - + {% if pull_request.status != 'Open'%}