Skip to content

Commit

Permalink
better default html for form messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoward committed Sep 9, 2013
1 parent 6c2ec70 commit 6fbb6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dao/messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def Messages.to_html(*args, &block)
slug = Slug.for(message.type)

div_(:class => "dao dao-message alert alert-block alert-#{ slug }"){
tagz << ' ' << message
tagz << message << ' '

a_(:href => "#", :class => "close", :data_dismiss => "alert", :onClick => "javascript:$(this).closest('div').remove();false;"){
Tagz.html_safe('&times;')
Expand Down

0 comments on commit 6fbb6a8

Please sign in to comment.