From f4e8ecdcd65288c5df901ac05a795bd1ae2533f7 Mon Sep 17 00:00:00 2001 From: Prommah Date: Wed, 28 Oct 2015 02:40:38 +0000 Subject: [PATCH] Don't show any SteamID stuff if that's blank too --- app/views/users/_general.html.erb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/users/_general.html.erb b/app/views/users/_general.html.erb index c4507cb..872373d 100755 --- a/app/views/users/_general.html.erb +++ b/app/views/users/_general.html.erb @@ -15,13 +15,15 @@
<%= @user.profile.town %>
<% end %> -
SteamID
-
-

<%= @user.steamid %>

- -
+ <% if !@user.steamid.blank? %> +
SteamID
+
+

<%= @user.steamid %>

+ +
+ <% end %> <% if !@user.profile.stream.blank? %>
Stream