diff --git a/pagure/templates/requests.html b/pagure/templates/requests.html index d512a9c..956650d 100644 --- a/pagure/templates/requests.html +++ b/pagure/templates/requests.html @@ -21,7 +21,7 @@ Closed - Reset Filters @@ -90,3 +90,42 @@ {% endblock %} + + +{% block jscripts %} +{{ super() }} +{% if authenticated and repo_admin %} + +{% endblock %} diff --git a/pagure/ui/fork.py b/pagure/ui/fork.py index 9493871..26bc6f9 100644 --- a/pagure/ui/fork.py +++ b/pagure/ui/fork.py @@ -174,6 +174,7 @@ def request_pulls(repo, username=None): assignee=assignee, author=author, repo_admin=is_repo_admin(repo), + form=pagure.forms.ConfirmationForm(), )