summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-07-25 09:00:00 +0200
committerPeter Kozak <spag@golwen.net>2013-07-25 09:00:00 +0200
commit8045a08a270b9264982ff8b912b59e4fe4fc2aa8 (patch)
tree461bdf9d2b2de268018d048a6153b047b45b4aa0 /app
parent84cf7df5d512777fe0d04ff515de243302f826f7 (diff)
unnecessary constraint removed
Diffstat (limited to 'app')
-rw-r--r--app/views/group_memberships/_form_core.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/group_memberships/_form_core.html.haml b/app/views/group_memberships/_form_core.html.haml
index 4a28a06..cadd33a 100644
--- a/app/views/group_memberships/_form_core.html.haml
+++ b/app/views/group_memberships/_form_core.html.haml
@@ -1,4 +1,3 @@
.inputs
- - if @group.group_memberships.count < 1
- = f.input :item_type, :label => t('group_memberships.form.item_type.label'), :hint => conditional_hint('group_memberships.form.item_type.hint')
+ = f.input :item_type, :label => t('group_memberships.form.item_type.label'), :hint => conditional_hint('group_memberships.form.item_type.hint')
= f.input :item_id, :label => t('group_memberships.form.item_id.label'), :hint => conditional_hint('group_memberships.form.item_id.hint')