Add MaxLength attribute on comment name

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2018-03-29 11:03:17 +02:00
parent 4d88760ce1
commit 7d7f39190f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -16,7 +16,7 @@
<fieldset id="add-comment"><legend>{__('Comments', 'Add a comment to the poll')}</legend> <fieldset id="add-comment"><legend>{__('Comments', 'Add a comment to the poll')}</legend>
<div class="form-group"> <div class="form-group">
<label for="comment_name" class="control-label">{__('Generic', 'Your name')}</label> <label for="comment_name" class="control-label">{__('Generic', 'Your name')}</label>
<input type="text" name="name" id="comment_name" class="form-control" /> <input type="text" name="name" id="comment_name" class="form-control" maxlength="60" />
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="comment" class="control-label">{__('Comments', 'Your comment')}</label> <label for="comment" class="control-label">{__('Comments', 'Your comment')}</label>