Skip to content

Commit

Permalink
Merge branch 'allow-null-group-assignment' into issue-#867
Browse files Browse the repository at this point in the history
  • Loading branch information
amosfolz committed Jul 11, 2019
2 parents 87e59cb + b26b705 commit b49c11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/sprinkles/admin/templates/forms/user.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
{% if 'group' in form.fields.disabled %}
<input type="text" class="form-control" name="theme" value="{{user.group.name}}" disabled>
{% else %}
<select id="input-group" class="form-control js-select2-group" name="group_id">
<option value="0" </option>
<select id="input-group" class="form-control js-select2" name="group_id">
<option value="0">No group</option>
{% for group in groups %}
<option value="{{group.id}}" {% if (group.id == user.group_id) %}selected{% endif %}>{{group.name}}</option>
{% endfor %}
Expand Down

0 comments on commit b49c11b

Please sign in to comment.