Sha256: 615b159ae9812cbdfaaa1f3414d61f670af2e87a9f55d231b0fb55f6fc14dfc5
Contents?: true
Size: 351 Bytes
Versions: 37
Compression:
Stored size: 351 Bytes
Contents
module DeviseHelper def devise_error_messages! messages = resource.errors.full_messages.join('<br />').html_safe if messages.present? messages = content_tag(:div, 'x', :class => 'close', 'data-dismiss' => 'alert') + messages content_tag(:div, messages, :class => "alert alert-error flash", 'data-alert' => 'alert') end end end
Version data entries
37 entries across 37 versions & 1 rubygems