Sha256: 280b8778dc3a5bdf7615f9e2b3915a06f73d6cab63ebceb8b58032be49a313cb
Contents?: true
Size: 380 Bytes
Versions: 17
Compression:
Stored size: 380 Bytes
Contents
module Admin::LoginHelper def login_flash_message if not flash.empty? content_tag :div, flash.values.first, :id => "flash-#{flash.keys.first}", :class => 'application-message' else '' end end def login_button_tag(label) content_tag(:button, content_tag(:span, label), :type => 'submit', :class => 'button') end end
Version data entries
17 entries across 17 versions & 1 rubygems