Browse files

Modify the ad HTML to be a little more flexible

  • Loading branch information...
1 parent 91e861a commit 8e10fafe63d743516b39f860230ae578c5002ca9 @kneath committed Jun 9, 2008
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>

0 comments on commit 8e10faf

Please sign in to comment.