From a022850963552096dab032fb57c16d3b1d3ac51a Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 8 Feb 2015 15:47:07 +0100 Subject: Add sign up form and AutoInc on tables uuid --- app/views/fragments/accountInfos.scala.html | 2 +- app/views/fragments/forms/inputField.scala.html | 1 + app/views/fragments/forms/inputLabel.scala.html | 3 +++ app/views/fragments/forms/labeledField.scala.html | 4 ++++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 app/views/fragments/forms/inputLabel.scala.html create mode 100644 app/views/fragments/forms/labeledField.scala.html (limited to 'app/views/fragments') diff --git a/app/views/fragments/accountInfos.scala.html b/app/views/fragments/accountInfos.scala.html index 6bf8655..887e485 100644 --- a/app/views/fragments/accountInfos.scala.html +++ b/app/views/fragments/accountInfos.scala.html @@ -19,7 +19,7 @@ } case None => { - + Sign up diff --git a/app/views/fragments/forms/inputField.scala.html b/app/views/fragments/forms/inputField.scala.html index 7de0e3b..41b6656 100644 --- a/app/views/fragments/forms/inputField.scala.html +++ b/app/views/fragments/forms/inputField.scala.html @@ -7,4 +7,5 @@ placeholder="@label" name="@field.name" id="@field.name" value="@field.value" +required > diff --git a/app/views/fragments/forms/inputLabel.scala.html b/app/views/fragments/forms/inputLabel.scala.html new file mode 100644 index 0000000..d03a23b --- /dev/null +++ b/app/views/fragments/forms/inputLabel.scala.html @@ -0,0 +1,3 @@ +@(field: Field, label: String) + + diff --git a/app/views/fragments/forms/labeledField.scala.html b/app/views/fragments/forms/labeledField.scala.html new file mode 100644 index 0000000..6a2c697 --- /dev/null +++ b/app/views/fragments/forms/labeledField.scala.html @@ -0,0 +1,4 @@ +@(field: Field, inputType: String, label: String) + +@views.html.fragments.forms.inputLabel(field, label) +@views.html.fragments.forms.inputField(field, inputType, label) -- cgit v1.2.3