ensl.org/app/views/gathers/_running.html.erb
Ari Timonen 6122caa125 Add gather moderators
Fix few gather issues
2019-05-19 18:04:18 -04:00

27 lines
No EOL
716 B
Text

<div class="gather-columns">
<div class="data players">
<div class="contents">
<h4>Signed Up</h4>
<ul id="gatherers">
<% @gather.gatherers.each do |gatherer| %>
<li<% if gatherer.status > 0 %> class="away"<% end %>>
<%= flag gatherer.user.country %>
<%= namelink gatherer.user %>
<% if cuser and (cuser.admin? or cuser.gather_moderator?) %>
<%= link_to gatherer, method: :delete, class: 'delete' do %>
<%= icon 'times' %>
<% end %>
<% end %>
</li>
<% end %>
</ul>
</div>
</div>
<%= render partial: 'votes' %>
</div>
<%= render partial: 'status' %>