aboutsummaryrefslogtreecommitdiff
path: root/app/views/fragments/forms/globalErrors.scala.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/fragments/forms/globalErrors.scala.html')
-rw-r--r--app/views/fragments/forms/globalErrors.scala.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/fragments/forms/globalErrors.scala.html b/app/views/fragments/forms/globalErrors.scala.html
new file mode 100644
index 0000000..98dad24
--- /dev/null
+++ b/app/views/fragments/forms/globalErrors.scala.html
@@ -0,0 +1,7 @@
1@(form: Form[_ <: Product])
2
3<div class="flash-message">
4 @for(error <- form.globalErrors) {
5 <div class="error">@error.message</div>
6 }
7</div>