Module: DashboardHelper

Defined in:
app/helpers/dashboard_helper.rb

Instance Method Summary collapse

Instance Method Details

#render_message(message) ⇒ Object



2
3
4
5
6
7
8
# File 'app/helpers/dashboard_helper.rb', line 2

def render_message(message)
  if message
    ('div', :id => 'message', :title => message[:title], :style => 'display: none;') do
      ('p', message[:body])
    end
  end
end