mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-01 04:40:45 +09:00
Allow multiple select for payment gateways (#2366)
allow multiple select
This commit is contained in:
1 parent
cae1853b8c
commit
90234ae6d4
1 file changed
+9
@@ -35,6 +35,15 @@
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% elseif element[0] == 'multiselect' %}
|
||||
<label class="form-label col-3 col-form-label">{{ element[1].label }}{% if element[1].description %} - {{ element[1].description }}{% endif %}</label>
|
||||
<div class="col">
|
||||
<select class="form-select" name="config[{{ name }}]" multiple>
|
||||
{% for k, v in element[1].multiOptions %}
|
||||
<option value="{{ k }}"{% if k == values[name] %} selected{% endif %}/><label>{{ v }}</label>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
{% elseif element[0] == 'radio' %}
|
||||
<label class="form-label col-3 col-form-label">{{ element[1].label }}{% if element[1].description %} - {{ element[1].description }}{% endif %}</label>
|
||||
<div class="col">
|
||||
|
||||
Reference in new issue
Block a user