mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
Fixed meta gruoups edition
This commit is contained in:
parent
2eef7222d5
commit
3528424892
@ -14,7 +14,7 @@
|
||||
{{/ if }}
|
||||
{{/ if }}
|
||||
{{/ ifequals }}
|
||||
<input name="name" value="{{ groupname }}" type="text" id="id_groupname" class="form-control modal_field_data"
|
||||
<input name="name" value="{{ groupname }}" type="text" id="id_groupname" class="form-control modal_field_data"
|
||||
placeholder="{% endverbatim %}{% trans 'Group name' %}{% verbatim %}"{{# if groupname }}readonly{{/ if }}>
|
||||
{{# ifequals type 'group' }}
|
||||
{{# if canSearchGroups }}
|
||||
@ -34,22 +34,22 @@
|
||||
<label for="id_matchifany" class="col-sm-2 control-label">{% endverbatim %}{% trans 'Match mode' %}{% verbatim %}</label>
|
||||
<div class="col-sm-10">
|
||||
<div class="make-switch">
|
||||
<input type="checkbox" class="modal_field_data"
|
||||
data-on-text="{% endverbatim %}{% trans 'Any' %}{% verbatim %}"
|
||||
<input type="checkbox" class="modal_field_data"
|
||||
data-on-text="{% endverbatim %}{% trans 'Any' %}{% verbatim %}"
|
||||
data-off-text="{% endverbatim %}{% trans 'All' %}{% verbatim %}"
|
||||
name="meta_if_any" id="id_matchifany"{{# if meta_if_any }} checked{{/ if }}>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/ ifequals }}
|
||||
</div>
|
||||
{{/ ifequals }}
|
||||
<div class="form-group">
|
||||
<label for="id_comments" class="col-sm-2 control-label">{% endverbatim %}{% trans 'comments' %}{% verbatim %}</label>
|
||||
<div class="col-sm-10">
|
||||
<input name="comments" value="{{ comments }}" type="text" id="id_comments" class="form-control modal_field_data"
|
||||
<input name="comments" value="{{ comments }}" type="text" id="id_comments" class="form-control modal_field_data"
|
||||
placeholder="{% endverbatim %}{% trans 'Comments' %}{% verbatim %}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<label for="id_state" class="col-sm-2 control-label">{% endverbatim %}{% trans 'State' %}{% verbatim %}</label>
|
||||
<div class="col-sm-10">
|
||||
@ -59,7 +59,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{# if groups_all }}
|
||||
<div class="form-group">
|
||||
<label for="id_state" class="col-sm-2 control-label">{% endverbatim %}{% trans 'Groups' %}{% verbatim %}</label>
|
||||
@ -68,12 +68,12 @@
|
||||
<select multiple name="groups" class="selectpicker show-menu-arrow show-tick modal_field_data" data-style="btn-default" data-width="100%" id="id_state">
|
||||
{{# each groups_all }}
|
||||
{{# ifequals type 'group' }}
|
||||
<option value="{{ id }}"{{# ifbelongs id ../../groups }} selected{{/ ifbelongs}}>{{ name }}</option>
|
||||
<option value="{{ id }}"{{# ifbelongs id ../groups }} selected{{/ ifbelongs}}>{{ name }}</option>
|
||||
{{/ ifequals }}
|
||||
{{/ each }}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
{{/ if }}
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user