['candidates', 'Candidates'],
['voters', 'Voters'],
['review', 'Review'] ] %>
+<h2>Progress</h2>
<div id="election_creation_progress_bar">
<ul>
<% progress_steps.each_with_index do |kv, i| -%>
<% step, description = kv -%>
- <li class="<%= step == progress ? 'step_selected' : 'step_unselected' -%>
+ <li class="<%= step == page ? 'step_selected' : 'step_unselected' -%>
<%= " last" if i + 1 == progress_steps.length -%>
">Step <%= i + 1 %>: <%= description %></li>
<% end -%>