{% load wagtailmaterialize_tags %}
{% get_tag value.attributes as tag %}{% if not tag %}{% make_use_of materialize_tag as tag %}{% endif %}
{% get_id value.attributes as id %}
{% get_classes value.attributes as classes %}
{% get_attributes value.attributes as attributes %}
<{{ tag }} {{ id }} class="{{ materialize_class }}{% if use_gradient %} with-gradient{% endif %}{% if reveal %} activator{% endif %}{% if classes %} {{ classes }}{% endif %}" {% for attribute in attributes %}{{ attribute }}{% endfor %}>
{% if close %}close{% endif %}
{% if reveal %}more_vert{% endif %}
{{ value.contents }}
{{ tag }}>