Play Framework - @helper custom @input text field



Render the input text without the <dt> labels part of the play framework defaults by creating a file customfield.scala.html under app/view/helper:

Create a custom input text consctructor by adding a new file under app/view/helper:

Add the following to your templates

Last, call the custom constructor via:


Popular posts from this blog

Hibernate - HibernateException: createQuery is not valid without active transaction