diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 4b9cf2c..19f3679 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -67,16 +67,6 @@
<% end %> - <% if @showing_user.hats.any? %> - -
- <% @showing_user.hats.each do |hat| %> - <%= hat.to_html_label %> - <% end %> -
-
- <% end %> - <% if @showing_user.deleted_at? %> @@ -115,6 +105,17 @@
+ <% if @showing_user.hats.any? %> + +
+ <% @showing_user.hats.each do |hat| %> + <%= hat.to_html_label %> + <% end %> +
+
+ <% end %> + + <% if @showing_user.github_username.present? %>