Add a maxlength attribute for the author name
Closes #530 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9dd52be963
commit
2ce6e56f8a
@ -28,7 +28,7 @@
|
||||
{if $useRemoteUser}
|
||||
<input type="hidden" name="name" value="{$form->admin_name}" />{$form->admin_name}
|
||||
{else}
|
||||
<input id="yourname" type="text" required name="name" class="form-control" {$errors['name']['aria']} value="{$poll_name|html}" />
|
||||
<input id="yourname" type="text" required maxlength="32" name="name" class="form-control" {$errors['name']['aria']} value="{$poll_name|html}" />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user