summaryrefslogtreecommitdiff
path: root/releng/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-03-23 20:16:58 -0500
committerDan McGee <dan@archlinux.org>2012-03-23 20:16:58 -0500
commitea87160c397fe1daf63851f0ed0be146bea79196 (patch)
tree10d49306607c4b60b6996e4cebffbc13d6635eea /releng/views.py
parent20899d59c078a879646dd689cf5795ebbc8b91df (diff)
releng: ensure links are valid for option names with spaces
Can't believe this went unnoticed for so long. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng/views.py')
-rw-r--r--releng/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/releng/views.py b/releng/views.py
index 2b3d0936..d8ea59f9 100644
--- a/releng/views.py
+++ b/releng/views.py
@@ -81,6 +81,7 @@ def calculate_option_overview(field_name):
is_rollback = field_name.startswith('rollback_')
option = {
'option': model,
+ 'field_name': field_name,
'name': model._meta.verbose_name,
'is_rollback': is_rollback,
'values': []