aboutsummaryrefslogtreecommitdiff
path: root/app/views/fragments/forms/inputField.scala.html
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-08 00:17:21 +0100
committerPacien TRAN-GIRARD2015-02-08 00:17:21 +0100
commitcb902da50bd75b623a47727e62c0c69913422bfd (patch)
tree2296df3bc243176f640732fffc80ec553a371367 /app/views/fragments/forms/inputField.scala.html
parent3d22cb7d1ee6bdf7b484bbf001c76e81ae351dea (diff)
downloadminibay-cb902da50bd75b623a47727e62c0c69913422bfd.tar.gz
Authentication draft
Diffstat (limited to 'app/views/fragments/forms/inputField.scala.html')
-rw-r--r--app/views/fragments/forms/inputField.scala.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/fragments/forms/inputField.scala.html b/app/views/fragments/forms/inputField.scala.html
new file mode 100644
index 0000000..7de0e3b
--- /dev/null
+++ b/app/views/fragments/forms/inputField.scala.html
@@ -0,0 +1,10 @@
1@(field: Field, inputType: String, label: String)
2
3<input
4class="pure-input-1 @if(field.hasErrors) {input-invalid}"
5type="@inputType"
6placeholder="@label"
7name="@field.name"
8id="@field.name"
9value="@field.value"
10>