Play Framework - @helper custom @input text field

Target



Solution

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:

Comments

Popular posts from this blog

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted

Oracle - ORA-29282: invalid file ID, ORA-06512: at "SYS.UTL_FILE"