diff --git a/samples/computer-database/app/views/createForm.scala.html b/samples/computer-database/app/views/createForm.scala.html index 2990e572..dbecb395 100644 --- a/samples/computer-database/app/views/createForm.scala.html +++ b/samples/computer-database/app/views/createForm.scala.html @@ -12,15 +12,15 @@

Add a computer

- @inputText(computerForm("name"), '_label -> "Computer name") - @inputText(computerForm("introduced"), '_label -> "Introduced date") - @inputText(computerForm("discontinued"), '_label -> "Discontinued date") + @inputText(computerForm("name"), Symbol("_label") -> "Computer name") + @inputText(computerForm("introduced"), Symbol("_label") -> "Introduced date") + @inputText(computerForm("discontinued"), Symbol("_label") -> "Discontinued date") @select( computerForm("company"), companies, - '_label -> "Company", '_default -> "-- Choose a company --", - '_showConstraints -> false + Symbol("_label") -> "Company", Symbol("_default") -> "-- Choose a company --", + Symbol("_showConstraints") -> false ) diff --git a/samples/computer-database/app/views/editForm.scala.html b/samples/computer-database/app/views/editForm.scala.html index 93f7daae..81a699cc 100644 --- a/samples/computer-database/app/views/editForm.scala.html +++ b/samples/computer-database/app/views/editForm.scala.html @@ -12,15 +12,15 @@

Edit computer

- @inputText(computerForm("name"), '_label -> "Computer name") - @inputText(computerForm("introduced"), '_label -> "Introduced date") - @inputText(computerForm("discontinued"), '_label -> "Discontinued date") + @inputText(computerForm("name"), Symbol("_label") -> "Computer name") + @inputText(computerForm("introduced"), Symbol("_label") -> "Introduced date") + @inputText(computerForm("discontinued"), Symbol("_label") -> "Discontinued date") @select( computerForm("company"), companies, - '_label -> "Company", '_default -> "-- Choose a company --", - '_showConstraints -> false + Symbol("_label") -> "Company", Symbol("_default") -> "-- Choose a company --", + Symbol("_showConstraints") -> false )
@@ -32,7 +32,7 @@

Edit computer

} - @form(routes.Application.delete(id), 'class -> "topRight") { + @form(routes.Application.delete(id), Symbol("class") -> "topRight") { }