diff options
| author | Sjoerd Langkemper <sjoerd@byte.nl> | 2013-11-07 16:50:51 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-11-11 17:58:02 +0100 |
| commit | d87127655f540747e7dc83badc015ea520b880f5 (patch) | |
| tree | e1f8ff285a3a0f49c3b1f11d745a311a8e28db87 /docs/ref/forms | |
| parent | f67cce0434907ef00db25577d46fdd04c0ad765d (diff) | |
Fixed #21421 -- Added level_tag attribute on messages.
Exposing the level name (e.g. "info") makes it possible to prepend
something to the class name. For example, Twitter Bootstrap has
an alert-info class. This class can now be added to the message
using `class="alert-{{ message.level_tag }}".
Because the level_tag was on the end of the `tags` property, it
could not be used in this fashion when extra_tags were given.
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
