blob: 3385d2b589b8e503cd55c17bbbbff213c9a1057c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<h1>Listing developers</h1>
<table>
<tr>
<th></th>
<th>Nickname</th>
</tr>
<% for developer in @developers %>
<tr>
<td height="100"><%= image_tag developer.hackergotchi.nil? ? '/images/default-user.png' : developer.hackergotchi %></td>
<td><%=h developer.nickname %></td>
<td><%= link_to 'Show', :action => 'show', :id => developer %></td>
</tr>
<% end %>
</table>
<%= link_to 'Previous page', { :page => @developer_pages.current.previous } if @developer_pages.current.previous %>
<%= link_to 'Next page', { :page => @developer_pages.current.next } if @developer_pages.current.next %>
<br />
<%= link_to 'Load from userinfo.xml', :action => 'load_from_userinfo' %> |
<%= link_to 'Update from planet.ini', :action => 'load_from_planet' %>
|