Merge branch 'add-maxlength-for-author-name' into 'v1.1.x'

Add a maxlength attribute for the author name

See merge request framasoft/framadate/framadate!475
This commit is contained in:
Thomas Citharel 2021-03-08 18:04:11 +00:00
commit fa6bd17365

View File

@ -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>