1 <% progress_steps = [ ['overview', 'General Information'],
2 ['candidates', 'Candidates'],
4 ['review', 'Review'] ] %>
6 <div id="election_creation_progress_bar">
9 <% progress_steps.each_with_index do |kv, i| -%>
10 <% step, description = kv -%>
11 <li class="<%= step == page ? 'step_selected' : 'step_unselected' -%>
12 <%= " last" if i + 1 == progress_steps.length -%>
13 ">Step <%= i + 1 %>: <%= description %></li>