Commit 6b9f92b513b68d4db459fdb6a1ebd6022b6ea740
1 parent
a8a8780b
Exists in
master
and in
29 other branches
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 | <div class="vcard"> | 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 | <div class="profile-big-image"> | 7 | <div class="profile-big-image"> |
| 6 | <div class="profile-big-image-inner1"> | 8 | <div class="profile-big-image-inner1"> |