diff --git a/CHANGELOG b/CHANGELOG
index e24e605c2..f5681cce6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -41,7 +41,7 @@ PDF:
- [Bugfix] Print available candidates in assignment pdf (#14)
- [Bugfix] "Show ""undocumented"" for result ""-2"" in application and assignment pdf" (#17)
Other:
-- [Feature] Rights for anonymous rene enhancement (#45)
+- [Feature] Rights for anonymous (#45)
- [Feature] Show counter for limited speaking time (#52)
- [Feature] Reorderd config tab subpages (#61)
- [Localize] i18n German: Use gender-specific strings (#51)
diff --git a/openslides/application/views.py b/openslides/application/views.py
index f300d424f..3c1f3f266 100644
--- a/openslides/application/views.py
+++ b/openslides/application/views.py
@@ -177,6 +177,8 @@ def edit(request, application_id=None):
return redirect(reverse('application_view', args=[application.id]))
if application_id is None:
return redirect(reverse('application_edit', args=[application.id]))
+ else:
+ messages.error(request, _('Please check the form for errors.'))
else:
if application_id is None:
initial = {'text': config_get('application_preamble')}
diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py
index f8d6047e5..9c06ac1b4 100644
--- a/openslides/assignment/views.py
+++ b/openslides/assignment/views.py
@@ -114,6 +114,8 @@ def edit(request, assignment_id=None):
return redirect(reverse("assignment_overview"))
if assignment_id is None:
return redirect(reverse('assignment_edit', args=[assignment.id]))
+ else:
+ messages.error(request, _('Please check the form for errors.'))
else:
form = AssignmentForm(instance=assignment)
return {
diff --git a/openslides/participant/models.py b/openslides/participant/models.py
index 219fa4f01..32c06d3a3 100644
--- a/openslides/participant/models.py
+++ b/openslides/participant/models.py
@@ -19,7 +19,6 @@ from participant.api import gen_password
class Profile(models.Model):
GENDER_CHOICES = (
- ('none', _('Not specified')),
('male', _('Male')),
('female', _('Female')),
)
@@ -31,9 +30,9 @@ class Profile(models.Model):
)
user = models.OneToOneField(User, unique=True, editable=False)
- gender = models.CharField(max_length=50, choices=GENDER_CHOICES, default='none', verbose_name = _("Gender"))
+ gender = models.CharField(max_length=50, choices=GENDER_CHOICES, blank=True, verbose_name = _("Gender"))
group = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Group"))
- type = models.CharField(max_length=100, choices=TYPE_CHOICE, default='guest', verbose_name = _("Typ"))
+ type = models.CharField(max_length=100, choices=TYPE_CHOICE, blank=True, verbose_name = _("Typ"))
committee = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Committee"))
firstpassword = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("First Password"))
diff --git a/openslides/participant/templates/participant/overview.html b/openslides/participant/templates/participant/overview.html
index a6475d2ed..978d2acb7 100644
--- a/openslides/participant/templates/participant/overview.html
+++ b/openslides/participant/templates/participant/overview.html
@@ -11,7 +11,7 @@
-
+