Commit 6b9f92b513b68d4db459fdb6a1ebd6022b6ea740

Authored by Braulio Bhavamitra
1 parent a8a8780b

Don't show p if empty

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
app/views/blocks/profile_image.rhtml
1 1 <div class="vcard">
2 2  
3   -<p><%= block.title %></p>
  3 +<% if block.title.present? %>
  4 + <p><%= block.title %></p>
  5 +<% end %>
4 6  
5 7 <div class="profile-big-image">
6 8 <div class="profile-big-image-inner1">
... ...