diff --git a/pagure/templates/_formhelper.html b/pagure/templates/_formhelper.html
index f33e3f3..8bdd299 100644
--- a/pagure/templates/_formhelper.html
+++ b/pagure/templates/_formhelper.html
@@ -130,7 +130,7 @@
}}">commented
{% if PRinline %}
on line {{
+ class="inline_comment_link_btn">{{
comment.line }} of {{ comment.filename }}
{% endif %}
{{ comment.date_created | humanize}}
@@ -176,9 +176,8 @@
{% if id != 0 and g.fas_user and (g.repo_committer or (
comment.parent.status in [True, 'Open']
and g.fas_user.username == comment.user.username)) %}
-
diff --git a/pagure/templates/add_deploykey.html b/pagure/templates/add_deploykey.html
index fa152aa..f69fccb 100644
--- a/pagure/templates/add_deploykey.html
+++ b/pagure/templates/add_deploykey.html
@@ -29,7 +29,7 @@
{{ render_bootstrap_field(form.pushaccess, field_description="Do you want to give this key push access?") }}
-
+
{{ form.csrf_token }}
diff --git a/pagure/templates/add_group.html b/pagure/templates/add_group.html
index e6376f6..a369583 100644
--- a/pagure/templates/add_group.html
+++ b/pagure/templates/add_group.html
@@ -24,7 +24,7 @@
{%- endif %}
-
+
{{ form.csrf_token }}
diff --git a/pagure/templates/add_group_project.html b/pagure/templates/add_group_project.html
index f792f05..e69d19e 100644
--- a/pagure/templates/add_group_project.html
+++ b/pagure/templates/add_group_project.html
@@ -36,7 +36,7 @@
-
+
{{ form.csrf_token }}
diff --git a/pagure/templates/add_token.html b/pagure/templates/add_token.html
index fe2e3d1..7ea5bf3 100644
--- a/pagure/templates/add_token.html
+++ b/pagure/templates/add_token.html
@@ -56,7 +56,7 @@
Cancel
{% endif %}
- Toggle all
+ Toggle all
{{ form.csrf_token }}
@@ -73,6 +73,9 @@
checkboxes[i].checked = !checkboxes[i].checked;
}
}
+ document.addEventListener('DOMContentLoaded', function () {
+ document.querySelector('.toggle_all').addEventListener('click', toggle);
+ });
{% endmacro %}
diff --git a/pagure/templates/add_user.html b/pagure/templates/add_user.html
index 7815057..a4bd4e8 100644
--- a/pagure/templates/add_user.html
+++ b/pagure/templates/add_user.html
@@ -34,7 +34,7 @@
-
+
{{ form.csrf_token }}
diff --git a/pagure/templates/blame.html b/pagure/templates/blame.html
index 8d79965..05be5e4 100644
--- a/pagure/templates/blame.html
+++ b/pagure/templates/blame.html
@@ -120,8 +120,7 @@
username=username,
namespace=repo.namespace,
branchname=branchname, filename=filename) }}">
-