diff options
Diffstat (limited to 'app/views/fragments/forms/textarea.scala.html')
-rw-r--r-- | app/views/fragments/forms/textarea.scala.html | 8 |
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 | ||
4 | class="pure-input-1 @if(field.hasErrors) {input-invalid}" | ||
5 | placeholder="@label" | ||
6 | name="@field.name" | ||
7 | id="@field.name" | ||
8 | >@field.value</textarea> | ||