@(elements: helper.FieldElements)

<div class="@if(elements.hasErrors) {error}">
    <label for="@elements.id">@elements.label</label>
    <span class="text-error">@elements.errors.mkString(", ")</span>
    <div class="input">
        @elements.input
    </div>
</div>
