Sha256: 6d7ac04cad3c14bbf2a11708130c3051fbaed1539255d8a25e4d080b75fa5bb3
Contents?: true
Size: 469 Bytes
Versions: 21
Compression:
Stored size: 469 Bytes
Contents
<!-- Renders a Rails flash message with bootstrap style ### Attributes - `type`: chooses which flash message to display and also the box style. The default is `notice`. `error`, `success` and `info` also have styling. - `no-close`: if set, the alert doesn't have a close button --> <def tag="flash-message" attrs="type"> <% type = type ? type.to_sym : :notice -%> <alert-box merge type="&type" if="&flash[type]"> <%= flash[type] %> </alert-box> </def>
Version data entries
21 entries across 21 versions & 1 rubygems