mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
Showing and allowing to edit arrays in order config
This commit is contained in:
1 parent
9f58bf0a75
commit
bba745dd2b
1 file changed
+7
-1
@@ -343,7 +343,13 @@
|
||||
<div class="rowElem noborder">
|
||||
<label>{{ key }}</label>
|
||||
<div class="formRight noborder">
|
||||
<input type="text" name="config[{{key}}]" value="{{ config }}" {% if config is null %} placeholder="null" {% endif %}/>
|
||||
{% if config is iterable %}
|
||||
{% for key2, config2 in config %}
|
||||
<input type="text" name="config[{{key}}][{{key2}}]" value="{{ config2 }}" {% if config2 is null %} placeholder="null" {% endif %}/>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<input type="text" name="config[{{key}}]" value="{{ config }}" {% if config is null %} placeholder="null" {% endif %}/>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="fix"></div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user