Merge branch 'add-maxlength-on-comment-name' into 'develop'

Add MaxLength attribute on comment name

See merge request framasoft/framadate!262
This commit is contained in:
Thomas Citharel 2018-03-29 11:03:45 +02:00
commit 21c6c7684e

View File

@ -16,7 +16,7 @@
<fieldset id="add-comment"><legend>{__('Comments', 'Add a comment to the poll')}</legend>
<div class="form-group">
<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 class="form-group">
<label for="comment" class="control-label">{__('Comments', 'Your comment')}</label>
@ -30,4 +30,4 @@
<div class="clearfix"></div>
</div>
</form>
{/if}
{/if}