Alert

<div class="alert alert-primary" role="alert">
            This is a primary alert—check it out!
        </div>
{% block main %}
    {% if dismissible %}
        {% set class = '  alert-dismissible fade show' %}
    {% endif %}
    <div class="alert alert-{{ style }}{{ class }}" role="alert">
        {% include template_from_string(content) %}
        {% if dismissible %}
            <button type="button"
                class="close"
                data-dismiss="alert"
                aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
        {% endif %}
    </div>
{% endblock %}
{
  "style": "primary",
  "dismissible": false,
  "content": "This is a primary alert—check it out!\n"
}

No notes defined.