mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-13 21:31:28 +00:00
Don't show any SteamID stuff if that's blank too
This commit is contained in:
parent
3f35776ce6
commit
f282a48286
1 changed files with 9 additions and 7 deletions
|
@ -15,13 +15,15 @@
|
|||
<dd><%= @user.profile.town %></dd>
|
||||
<% end %>
|
||||
|
||||
<dt>SteamID</dt>
|
||||
<dd>
|
||||
<p><%= @user.steamid %></p>
|
||||
<div id="steam-search" data-user-id="<%= @user.id %>">
|
||||
<%= link_to "Search for Steam Account" %>
|
||||
</div>
|
||||
</dd>
|
||||
<% if !@user.steamid.blank? %>
|
||||
<dt>SteamID</dt>
|
||||
<dd>
|
||||
<p><%= @user.steamid %></p>
|
||||
<div id="steam-search" data-user-id="<%= @user.id %>">
|
||||
<%= link_to "Search for Steam Account" %>
|
||||
</div>
|
||||
</dd>
|
||||
<% end %>
|
||||
|
||||
<% if !@user.profile.stream.blank? %>
|
||||
<dt>Stream</dt>
|
||||
|
|
Loading…
Reference in a new issue