Skip to content

Commit 81cefbd

Browse files
committed
Merged in [17492] from rcross@amsl.com:
On session request form make Special Requests field smaller and display 200 character limit. Fixes ietf-tools#2875. - Legacy-Id: 17514 Note: SVN reference [17492] has been migrated to Git commit a99c37c
2 parents 79c3182 + a99c37c commit 81cefbd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/secr/sreq/forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(self, group, *args, **kwargs):
9898
self.fields['length_session1'].widget.attrs['onClick'] = "if (check_num_session(1)) this.disabled=true;"
9999
self.fields['length_session2'].widget.attrs['onClick'] = "if (check_num_session(2)) this.disabled=true;"
100100
self.fields['length_session3'].widget.attrs['onClick'] = "if (check_third_session()) { this.disabled=true;}"
101-
self.fields['comments'].widget = forms.Textarea(attrs={'rows':'6','cols':'65'})
101+
self.fields['comments'].widget = forms.Textarea(attrs={'rows':'3','cols':'65'})
102102

103103
group_acronym_choices = [('','--Select WG(s)')] + list(allowed_conflicting_groups().exclude(pk=group.pk).values_list('acronym','acronym').order_by('acronym'))
104104
for i in range(1, 4):

ietf/secr/templates/includes/sessions_request_form.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</td>
6161
</tr>
6262
<tr class="bg1">
63-
<td valign="top">Special Requests:<br />&nbsp;<br />i.e. restrictions on meeting times / days, etc.</td>
63+
<td valign="top">Special Requests:<br />&nbsp;<br />i.e. restrictions on meeting times / days, etc.<br /> (limit 200 characters)</td>
6464
<td>{{ form.comments.errors }}{{ form.comments }}</td>
6565
</tr>
6666
</table>

0 commit comments

Comments
 (0)