Skip to content

Commit

Permalink
Adding css class value to img tag for essence_picture.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Deyen committed Feb 27, 2012
1 parent a4689f3 commit b29d075
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/alchemy/essences/_essence_picture_view.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
),
{
:alt => (content.essence.alt_tag.blank? ? nil : content.essence.alt_tag),
:title => (content.essence.title.blank? ? nil : content.essence.title)
:title => (content.essence.title.blank? ? nil : content.essence.title),
:class => (content.essence.css_class.blank? ? nil : content.essence.css_class)
}.merge(html_options)
) -%>
Expand Down

0 comments on commit b29d075

Please sign in to comment.