X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/538c52ea43285fc1ae40e3c3ff5ee78befa1c142..da6c29f53b3598a6d2d9959df277b0340bc54cee:/app/views/common/_result_box.rhtml diff --git a/app/views/common/_result_box.rhtml b/app/views/common/_result_box.rhtml new file mode 100644 index 0000000..528885d --- /dev/null +++ b/app/views/common/_result_box.rhtml @@ -0,0 +1,19 @@ +
> +
+ <%= ELECTION_TYPES[method]%> + + <% if @election.election_method == method %> + Selected Method + <% else %> + Alternative Method + <% end %> +
+ +<% unless @election.election_method == method -%> +<%= render :partial => 'common/result', :object => @results[method]%> +<% end -%> +<%= render :partial => 'common/methodinfo_' + method, + :object => @results[method] %> + +
+