Merged in [17492] from rcross@amsl.com:

On session request form make Special Requests field smaller and display 200 character limit. Fixes #2875.
 - Legacy-Id: 17514
Note: SVN reference [17492] has been migrated to Git commit a99c37cd47
This commit is contained in:
Henrik Levkowetz 2020-03-22 23:00:55 +00:00
commit 81cefbd859
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ class SessionForm(forms.Form):
self.fields['length_session1'].widget.attrs['onClick'] = "if (check_num_session(1)) this.disabled=true;"
self.fields['length_session2'].widget.attrs['onClick'] = "if (check_num_session(2)) this.disabled=true;"
self.fields['length_session3'].widget.attrs['onClick'] = "if (check_third_session()) { this.disabled=true;}"
self.fields['comments'].widget = forms.Textarea(attrs={'rows':'6','cols':'65'})
self.fields['comments'].widget = forms.Textarea(attrs={'rows':'3','cols':'65'})
group_acronym_choices = [('','--Select WG(s)')] + list(allowed_conflicting_groups().exclude(pk=group.pk).values_list('acronym','acronym').order_by('acronym'))
for i in range(1, 4):

View file

@ -60,7 +60,7 @@
</td>
</tr>
<tr class="bg1">
<td valign="top">Special Requests:<br />&nbsp;<br />i.e. restrictions on meeting times / days, etc.</td>
<td valign="top">Special Requests:<br />&nbsp;<br />i.e. restrictions on meeting times / days, etc.<br /> (limit 200 characters)</td>
<td>{{ form.comments.errors }}{{ form.comments }}</td>
</tr>
</table>