app/helpers/casein/casein_helper.rb in casein-3.1.11 vs app/helpers/casein/casein_helper.rb in casein-4.0.0.beta1

- old
+ new

@@ -56,14 +56,14 @@ "<div class='noLink'>#{contents}</div>".html_safe end def casein_show_icon icon_name - "<div class='icon'><img src='/casein/images/icons/#{icon_name}.png' alt='' /></div>".html_safe + "<div class='icon'>".html_safe + image_tag("casein/icons/#{icon_name}.png", :alt => "") + "</div>".html_safe end def casein_show_row_icon icon_name - "<div class='iconRow'><img src='/casein/images/icons/#{icon_name}.png' alt='' /></div>".html_safe + "<div class='iconRow'>".html_safe + image_tag("casein/icons/#{icon_name}.png", :alt => "") + "</div>".html_safe end # Styled form tag helpers def casein_text_field form, obj, attribute, options = {} \ No newline at end of file