Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
latoilescoute-dev
scoodle
Commits
7d7f3919
Unverified
Commit
7d7f3919
authored
Mar 29, 2018
by
Thomas Citharel
Browse files
Add MaxLength attribute on comment name
Signed-off-by:
Thomas Citharel
<
tcit@tcit.fr
>
parent
4d88760c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tpl/part/comments.tpl
View file @
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment