mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 01:35:28 +01:00
Retain provider selection on edit
This commit is contained in:
parent
345bffbab6
commit
aa5484e96b
@ -44,8 +44,11 @@
|
|||||||
action="/panel/edit_webhook?id={{ data['server_stats']['server_id']['server_id'] }}&sch_id={{ data['webhook']['id'] }}">
|
action="/panel/edit_webhook?id={{ data['server_stats']['server_id']['server_id'] }}&sch_id={{ data['webhook']['id'] }}">
|
||||||
{% end %}
|
{% end %}
|
||||||
<select class="form-select form-control form-control-lg select-css" id="webhook_type" name="webhook_type">
|
<select class="form-select form-control form-control-lg select-css" id="webhook_type" name="webhook_type">
|
||||||
|
<option value="{{data['webhook']['webhook_type']}}">{{data['webhook']['webhook_type']}}</option>
|
||||||
{% for type in data['providers'] %}
|
{% for type in data['providers'] %}
|
||||||
|
{% if type != data['webhook']['webhook_type'] %}
|
||||||
<option value="{{type}}">{{type}}</option>
|
<option value="{{type}}">{{type}}</option>
|
||||||
|
{%end%}
|
||||||
{% end %}
|
{% end %}
|
||||||
</select>
|
</select>
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user