Browse Source
Merge pull request #301 from discomrade/ip-maxlength
Extend maxlength of ban IP to allow IPv6 subnets
pull/40/head
nonmakina
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
templates/mod/ban_form.html
|
|
@ -24,7 +24,7 @@ |
|
|
|
</th> |
|
|
|
<td> |
|
|
|
{% if not hide_ip %} |
|
|
|
<input type="text" name="ip" id="ip" size="30" maxlength="40" value="{{ ip|e }}"> |
|
|
|
<input type="text" name="ip" id="ip" size="30" maxlength="43" value="{{ ip|e }}"> |
|
|
|
{% else %} |
|
|
|
<em>{% trans 'hidden' %}</em> |
|
|
|
{% endif %} |
|
|
@ -61,7 +61,7 @@ |
|
|
|
<label for="length">{% trans 'Length' %}</label> |
|
|
|
</th> |
|
|
|
<td> |
|
|
|
<input type="text" name="length" id="length" size="20" maxlength="40"> |
|
|
|
<input type="text" name="length" id="length" size="20" maxlength="43"> |
|
|
|
<span class="unimportant">(eg. "2d1h30m" or "2 days")</span></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|