Add label attribute
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<div {{ attributes }} class="{{ this.finalClasses }}">
|
||||
{% block content %}{% endblock %}
|
||||
{% if block('content') is not empty %}
|
||||
{% block content %}{% endblock %}
|
||||
{% else %}
|
||||
{{- this.label -}}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user