Why do Play's Form Helpers generate the dl
,dt
, and dd
tags? They seem unnecessary.
<dl class="error" id="email_field">
<dt><label for="email">Email:</label></dt>
<dd><input type="text" name="email" id="email" value=""></dd>
<dd class="error">This field is required!</dd>
<dd class="error">Another error</dd>
<dd class="info">Required</dd>
<dd class="info">Another constraint</dd>
</dl>
https://www.playframework.com/documentation/2.3.x/JavaFormHelpers
Although Maxime confessed himself, remember that's just default helpers. If they were ie. just pure fields people would start to why it doesn't use some structure ;)
Besides all remember that Play allows you to create custom constructors easily which is perfectly showed in official documentation.