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