aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-12 22:37:08 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-12 22:37:08 +0100
commit0d3e92f46ad367eced471bf5c5cde8428a320cd5 (patch)
tree6ad1d4ceac429354ed40fc01ebf0c618d0342377
parentaefe2727c702353e28637954d372c6a530c94f4f (diff)
Actually get it right this time.
-rw-r--r--templates/web/default/admin/questionnaire.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/web/default/admin/questionnaire.html b/templates/web/default/admin/questionnaire.html
index cd8f63481..e4fb05135 100644
--- a/templates/web/default/admin/questionnaire.html
+++ b/templates/web/default/admin/questionnaire.html
@@ -23,7 +23,7 @@
<table>
<tr><th>[% loc('Old state') %]</th><th>[% loc('New state') %]</th><th>[% loc('Total') %]</th></tr>
[% WHILE ( s = state_changes.next ) %]
-<tr><td>[% s.old_state %]</td><td>[% s.new_state %]</td><td>[% s.count %] ([% 100 * s.c / questionnaires.total | format('%.1f') %]%)</td></tr>
+<tr><td>[% s.old_state %]</td><td>[% s.new_state %]</td><td>[% s.get_column('c') %] ([% 100 * s.get_column('c') / questionnaires.total | format('%.1f') %]%)</td></tr>
[% END %]
</table>