1 2 3 4 5 6 7 8 9 10 11
@(field: Field, inputType: String, label: String) <input class="pure-input-1 @if(field.hasErrors) {input-invalid}" type="@inputType" placeholder="@label" name="@field.name" id="@field.name" value="@field.value" required >