<flash-message>

Renders a Rails flash message wrapped in a <div> tag

Attributes

  • type - which flash message to display. Defaults to :notice

CSS Classes

The flash is output in a <div class="flash notice">, where notice is the type specified.

Show Source

Related Tags


Edit this page