743dd455fd672d50198b25626863f6e55f73d856
[selectricity] / app / views / common / _methodinfo_condorcet.rhtml
1 <div class="rbmoreinfo">
2 <h4>About Simple Cordorcet Voting</h4>
3
4 <p><%= link_to "Condorcet",
5 "http://en.wikipedia.org/wiki/Condorcet_method" %> allows voters to rank
6 candidates in order of preference.  If there is a choice whom voters
7 prefer to each other choice when compared to one at a time, that choice
8 will be the winner.</p>
9
10 <p>There is a family of Condorcet methods. This method is referred to as
11 "Simple Condorcet" to distinguish it from the Schulze method which is
12 another Condorcet system.</p>
13
14 <% candidates = @election.ssd_result.ranked_candidates.flatten -%>
15 <% if candidates.size <= 7 -%>
16   <%= render :partial => 'common/pref_tables' %>
17 <% else %>
18
19   There are too many candidates in your elections to show the result
20   tables. 
21
22   <% if not @election.type == QuickVote %>
23     <%= link_to "Click here", { :action => 'pref_tables', :id => @voter.password }, :popup => [] %>
24     to view details.
25   <% end %>
26   
27
28 <% end -%>
29
30 </div>

Benjamin Mako Hill || Want to submit a patch?