blob: 7de0e3bb3923dd6c952ef1085b11eb17f8f707e1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
@(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"
>
|