mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
29 lines
564 B
Text
29 lines
564 B
Text
|
<h1 class="center">
|
||
|
<%=h @group.name %>
|
||
|
</h1>
|
||
|
|
||
|
<p>
|
||
|
<b>Founder:</b>
|
||
|
<%=h @group.founder.username %>
|
||
|
</p>
|
||
|
|
||
|
<table class="data">
|
||
|
<tr>
|
||
|
<th>Username</th>
|
||
|
<th>Real Name</th>
|
||
|
<th>SteamID</th>
|
||
|
</tr>
|
||
|
|
||
|
<% for user in @group.users %>
|
||
|
<tr class="<%= cycle('even', 'odd') %>">
|
||
|
<td><%=link_to (h user.username), user %></td>
|
||
|
<td><%=h user.firstname %> <%=h user.lastname %></td>
|
||
|
<td><%=h user.steamid %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</table>
|
||
|
|
||
|
<% if cuser and cuser.admin? %>
|
||
|
<%= link_to 'Edit', edit_group_path(@group) %>
|
||
|
<% end %>
|