mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Prevent errors when displaying flag icons for users that have not country set.
This commit is contained in:
parent
8836bc49f2
commit
31a385823c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
||||||
<td><%= radio_button_tag :player, gatherer.id %><%= flag gatherer.user.country %></td>
|
<td><%= radio_button_tag :player, gatherer.id %><%= flag gatherer.user.country %></td>
|
||||||
<td><%= namelink gatherer.user %></td>
|
<td><%= namelink gatherer.user %></td>
|
||||||
<% else %>
|
<% else %>
|
||||||
<td><%= flag gatherer.user.country %></td>
|
<td><%= flag(gatherer.user.country) if gatherer.user && gatherer.user.country %></td>
|
||||||
<% if gatherer == captain and gatherer.team == gatherer.gather.turn %>
|
<% if gatherer == captain and gatherer.team == gatherer.gather.turn %>
|
||||||
<td>»
|
<td>»
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
Loading…
Reference in a new issue