Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Modify the ad HTML to be a little more flexible

  • Loading branch information...
commit 8e10fafe63d743516b39f860230ae578c5002ca9 1 parent 91e861a
@kneath authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/shared/_ad.html.erb
View
4 app/views/shared/_ad.html.erb
@@ -2,12 +2,12 @@
<% unless campaign.filename.blank? %>
<a href="<%= campaign.link %>" title="<%= campaign.name %>" class="greed_img"><img src="<%= host_with_port + campaign.filename %>" /></a>
<% unless campaign.description.blank? %>
- <p class="greed_description"><%= campaign.description %></p>
+ <div class="greed_description"><%= campaign.description %></div>
<% end %>
<% else %>
<h4 class="greed_title"><a href="<%= campaign.link %>"><%=h campaign.name %></a></h4>
<% unless campaign.description.blank? %>
- <p class="greed_description"><%= campaign.description %></p>
+ <div class="greed_description"><%= campaign.description %></div>
<% end %>
<% end %>
</div>
Please sign in to comment.
Something went wrong with that request. Please try again.