--- /dev/null
+<% progress_steps = [ ['overview', 'General Information'],
+ ['candidates', 'Candidates'],
+ ['voters', 'Voters'],
+ ['review', 'Review'] ] %>
+<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' -%>
+ <%= " last" if i + 1 == progress_steps.length -%>
+ ">Step <%= i + 1 %>: <%= description %></li>
+<% end -%>
+</ul>
+
+</div>