Posts

Showing posts from May, 2017

Play Framework - @helper custom @input text field

Target

SolutionRender 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: