wiki-grav/plugins/form/templates/forms/fields/spacer/spacer.html.twig

20 lines
415 B
Twig
Raw Permalink Normal View History

{% extends "forms/field.html.twig" %}
{% block field %}
<div class="form-spacer {{ field.classes }}">
{% if field.title %}
<h3>{{- field.title|t|raw -}}</h3>
{% endif %}
{% if field.markdown %}
<p>{{- field.text|t|markdown|raw -}}</p>
{% else %}
<p>{{- field.text|t|raw -}}</p>
{% endif %}
{% if field.underline %}
<hr />
{% endif %}
</div>
{% endblock %}