projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for results for full elections
[selectricity-live]
/
app
/
views
/
common
/
_result_box.rhtml
diff --git
a/app/views/quickvote/_result_box.rhtml
b/app/views/common/_result_box.rhtml
similarity index 79%
rename from
app/views/quickvote/_result_box.rhtml
rename to
app/views/common/_result_box.rhtml
index 917dbd4eea590d0ecbdec4da97361428e8783069..528885ddb944af1a74dc04bfd94192307617f220 100644
(file)
--- a/
app/views/quickvote/_result_box.rhtml
+++ b/
app/views/common/_result_box.rhtml
@@
-10,9
+10,9
@@
</div>
<% unless @election.election_method == method -%>
</div>
<% unless @election.election_method == method -%>
-<%= render :partial => 'result', :object => @results[method]%>
+<%= render :partial => '
common/
result', :object => @results[method]%>
<% end -%>
<% end -%>
-<%= render :partial => 'methodinfo_' + method,
+<%= render :partial => '
common/
methodinfo_' + method,
:object => @results[method] %>
</div>
:object => @results[method] %>
</div>
Benjamin Mako Hill
||
Want to submit a patch?