|
- {% macro badge_success(title) %}
- {{ _self.badge('success', title) }}
- {% endmacro %}
-
- {% macro badge_warning(title) %}
- {{ _self.badge('warning', title) }}
- {% endmacro %}
-
- {% macro badge_danger(title) %}
- {{ _self.badge('danger', title) }}
- {% endmacro %}
-
- {% macro badge(status, title) %}
- <span class="badge badge-{{ status }}">{{ title }}</span>
- {% endmacro %}
|