aboutsummaryrefslogtreecommitdiff
path: root/app/views/fragments/forms/textarea.scala.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/fragments/forms/textarea.scala.html')
-rw-r--r--app/views/fragments/forms/textarea.scala.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/fragments/forms/textarea.scala.html b/app/views/fragments/forms/textarea.scala.html
new file mode 100644
index 0000000..44904ca
--- /dev/null
+++ b/app/views/fragments/forms/textarea.scala.html
@@ -0,0 +1,8 @@
1@(field: Field, label: String)
2
3<textarea
4class="pure-input-1 @if(field.hasErrors) {input-invalid}"
5placeholder="@label"
6name="@field.name"
7id="@field.name"
8>@field.value</textarea>