Skip to content
Permalink
Browse files

Merge branch 'allow-null-group-assignment' into issue-userfrosting#867

  • Loading branch information...
amosfolz committed Jul 11, 2019
2 parents 87e59cb + b26b705 commit b49c11b2850223bc1677d26363943f13539c5353
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/sprinkles/admin/templates/forms/user.html.twig
@@ -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 %}

0 comments on commit b49c11b

Please sign in to comment.
You can’t perform that action at this time.