.choices %}
              <option value="{{ value }}" {% if form.user_role.value == value %}selected{% endif %}>{{ name }}</option>
            {% endfor %}
          </select>
          {% if form.user_role.errors %}
            <div class="invalid-feedback">
              {% for error in form.user_role.errors %}
                {{ error }}
              {% endfor %}
            </div>
          {% endif %}
        </div>

        <div class="form-group {% if form.gender.errors %}has-error{% endif %}">
   