projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed errors with election/class
[selectricity]
/
app
/
views
/
common
/
_methodinfo_condorcet.rhtml
diff --git
a/app/views/common/_methodinfo_condorcet.rhtml
b/app/views/common/_methodinfo_condorcet.rhtml
index 1cb5fae3ff20417d91968a43dff94ba353360412..b941eea258158ab9657b23423796b64d909fac39 100644
(file)
--- a/
app/views/common/_methodinfo_condorcet.rhtml
+++ b/
app/views/common/_methodinfo_condorcet.rhtml
@@
-13,13
+13,13
@@
another Condorcet system.</p>
<% candidates = @election.ssd_result.ranked_candidates.flatten -%>
<% if candidates.size <= 7 -%>
<% candidates = @election.ssd_result.ranked_candidates.flatten -%>
<% if candidates.size <= 7 -%>
- <%= render
_partial
'common/pref_tables' %>
+ <%= render
:partial =>
'common/pref_tables' %>
<% else %>
There are too many candidates in your elections to show the result
tables.
<% else %>
There are too many candidates in your elections to show the result
tables.
- <% if not @election.
type
== QuickVote %>
+ <% if not @election.
class
== QuickVote %>
<%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %>
to view details.
<% end %>
<%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %>
to view details.
<% end %>
Benjamin Mako Hill
||
Want to submit a patch?