diff --git a/apps/assets/forms.py b/apps/assets/forms.py index 1338a7449..f2f28ad46 100644 --- a/apps/assets/forms.py +++ b/apps/assets/forms.py @@ -16,7 +16,7 @@ class AssetForm(forms.ModelForm): ] widgets = { - 'groups': forms.SelectMultiple(attrs={'class': 'select2', 'data-placeholder': _('Join assetgroups')}), + 'groups': forms.SelectMultiple(attrs={'class': 'select2', 'data-placeholder': _('Select asset groups')}), } diff --git a/apps/assets/templates/assets/asset_group_list.html b/apps/assets/templates/assets/asset_group_list.html index 484c131f4..b69bfa8b9 100644 --- a/apps/assets/templates/assets/asset_group_list.html +++ b/apps/assets/templates/assets/asset_group_list.html @@ -29,7 +29,7 @@
{% trans 'Captcha invalid' %}
+ {% else %} +{{ form.non_field_errors.as_text }}
{% endif %} {% endif %} - {% if errors %} -{{ errors }}
- {% endif %}@@ -84,7 +83,4 @@