projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Working on a step-by-step workflow audit.
[selectricity]
/
app
/
views
/
election
/
new_candidates.rhtml
diff --git
a/app/views/election/new_candidates.rhtml
b/app/views/election/new_candidates.rhtml
index 67525fd4928fe33a02a6b071e5ced2233864d858..f95cd837dc88bc91b94504f4eb12501725c8b545 100644
(file)
--- a/
app/views/election/new_candidates.rhtml
+++ b/
app/views/election/new_candidates.rhtml
@@
-1,5
+1,11
@@
<% @edit = true %>
<% @edit = true %>
-<h1><strong><%= @election.name %>:</strong> Enter Candidates</h1>
+<h1><strong><%= @election.name %></strong> Candidates</h1>
+
+<ul id="candidate_list">
+<% for candidate in @election.candidates %>
+ <li><%= candidate.name %></li>
+<% end %>
+</ul>
<%= render :partial => 'candidates_form' %>
<%= button_to "Done!", :action => 'show', :id => @election %>
<%= render :partial => 'candidates_form' %>
<%= button_to "Done!", :action => 'show', :id => @election %>
Benjamin Mako Hill
||
Want to submit a patch?