<div class="input-material">
<input type="{{ t }}" id="{{ id }}"{% if v is defined %} value="{{ v }}"{% endif %} required{% if attr is defined %} {{ attr|raw }}{% endif %} />
<label for="{{ id }}"{% if req %} class="required"{% endif %}>{{ n }}</label>
</div>