Skip to content
Snippets Groups Projects
Commit a23f7bdf authored by dcz's avatar dcz
Browse files

Remove lemma from roles available to assign.

parent c9591bd5
No related branches found
No related tags found
No related merge requests found
......@@ -1026,6 +1026,7 @@ def ajax_predefined_preferences(request):
def ajax_roles(request):
roles = []
for role in SemanticRole.objects.order_by('priority'):
if role.role != 'Lemma':
roles.append({"id": role.id, "role": role.role, "priority": role.priority, "color": role.color})
context = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment