From 6b9f92b513b68d4db459fdb6a1ebd6022b6ea740 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Fri, 21 Feb 2014 13:14:58 -0300 Subject: [PATCH] Don't show p if empty --- app/views/blocks/profile_image.rhtml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/blocks/profile_image.rhtml b/app/views/blocks/profile_image.rhtml index 5c5194d..4906d52 100644 --- a/app/views/blocks/profile_image.rhtml +++ b/app/views/blocks/profile_image.rhtml @@ -1,6 +1,8 @@
-

<%= block.title %>

+<% if block.title.present? %> +

<%= block.title %>

+<% end %>
-- libgit2 0.21.2