mirror of https://github.com/jumpserver/jumpserver
修改默认
parent
9304a911ea
commit
f45398e20b
|
@ -74,8 +74,12 @@
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<select id="groups" name="groups" class="form-control m-b" multiple>
|
<select id="groups" name="groups" class="form-control m-b" multiple>
|
||||||
{% for group in all_group %}
|
{% for group in all_group %}
|
||||||
{% if group.id|int2str in groups_str %}
|
{% if groups_str %}
|
||||||
<option value="{{ group.id }}" selected>{{ group.name }}</option>
|
{% if group.id|int2str in groups_str %}
|
||||||
|
<option value="{{ group.id }}" selected>{{ group.name }}</option>
|
||||||
|
{% else %}
|
||||||
|
<option value="{{ group.id }}">{{ group.name }}</option>
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<option value="{{ group.id }}" selected>{{ group.name }}</option>
|
<option value="{{ group.id }}" selected>{{ group.name }}</option>
|
||||||
|
|
Loading…
Reference in New Issue