Add MaxLength attribute on comment name
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
4d88760ce1
commit
7d7f39190f
@ -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>
|
||||||
@ -30,4 +30,4 @@
|
|||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
Reference in New Issue
Block a user