fix mispelling in about screen
[selectricity-live] / app / views / about / _sidebar.rhtml
1 <h2>Information and Documentation</h2>
2
3 <% steps = [ ['overview', 'Overview'],
4              ['blog', 'News/Blog' ],
5              ['features', 'Major Features' ],
6 #             ['why', 'Why Selectricity?' ],
7              ['team', 'The Team'],
8              ['thanks', 'Acknowledgements'],
9              ['privacy', 'Privacy Policy' ],
10              ['anywhere', 'Selectricity Anywhere'] ] %>
11
12 <div id="progress_bar">
13
14 <ul>
15 <% steps.each_with_index do |kv, i| -%>
16   <% step, description = *kv %>
17   <li class="<%= step == page ? 'step_selected' : 'step_unselected' -%><%=
18     " last" if i + 1 == steps.length -%>">
19     <% if step == page %>
20       <%= description  %>
21     <% else %>
22       <%= link_to description, :action => step %>
23     <% end %>
24   </li>
25 <% end %>
26 </ul>
27
28 </div> 
29

Benjamin Mako Hill || Want to submit a patch?