users_selected keep new (#255)

用户组保存后数据显示的问题,在已选用户处显示选择的数据
pull/256/head
lrqrun 2016-06-07 10:54:11 +08:00 committed by ibuler
parent a077053b68
commit f130a78f0a
1 changed files with 4 additions and 1 deletions

View File

@ -55,6 +55,9 @@
<div class="col-sm-3">
<div>
<select id="users_selected" name="users_selected" class="form-control m-b" size="12" multiple>
{% for user in users_selected %}
<option value="{{ user }}">{{ user|to_name }}</option>
{% endfor %}
</select>
</div>
</div>
@ -118,4 +121,4 @@ $(document).ready(function(){
</script>
{% endblock %}
{% endblock %}