aboutsummaryrefslogtreecommitdiff
path: root/app/views/fragments/forms/inputField.scala.html
blob: 41b665664167c66ad24d27030b507a77988f5cdd (plain)
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
>