修改bug

pull/6/head
guanghongwei 2015-01-10 14:07:06 +08:00
parent f9abf7af1d
commit 796533b7a9
1 changed files with 2 additions and 1 deletions

View File

@ -66,8 +66,9 @@
{% for group in groups %} {% for group in groups %}
{% if forloop.first %} {% if forloop.first %}
<option value="{{ group.id }}" selected>{{ group.name }}</option> <option value="{{ group.id }}" selected>{{ group.name }}</option>
{% else %}
<option value="{{ group.id }}">{{ group.name }}</option>
{% endif %} {% endif %}
<option value="{{ group.id }}">{{ group.name }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>