Commit 21c6c768 authored by Thomas Citharel's avatar Thomas Citharel
Browse files

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

Add MaxLength attribute on comment name

See merge request framasoft/framadate!262
parents 4d88760c 7d7f3919
...@@ -16,7 +16,7 @@ ...@@ -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 @@ ...@@ -30,4 +30,4 @@
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
</form> </form>
{/if} {/if}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment