Play framework input without label
I've just started with Play Framework and I'm looking to create input
field in scala template but without label and for some reason I'm unable
to get rid of the generated label element. Here is how my code looks like
:
@helper.inputText(form("name"), 'id -> "name", 'class ->
"ui-state-default", 'autocomplete -> "off", 'placeholder -> "Please write
name ...")
So I end up with this element along with my input (looking at browser
source code) :
<dt><label for="s2id_autogen2">name</label></dt>
Is there any way of removing it?
No comments:
Post a Comment