java - Play framework input without label -


i've started play framework , i'm looking create input field in scala template without label , reason i'm unable rid of generated label element. here how code looks :

@helper.inputtext(form("name"), 'id -> "name", 'class -> "ui-state-default", 'autocomplete -> "off", 'placeholder -> "please write name ...") 

so end element along input (looking @ browser source code) :

<dt><label for="s2id_autogen2">name</label></dt> 

is there way of removing it?

my solution :

@helper.inputtext(form("name"),      'id -> "name",     'class -> "ui-state-default",     'autocomplete -> "off",     'placeholder -> "please write name ...",     '_label -> null ) 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -