mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Add requirement input text fields
This commit is contained in:
parent
c03624f265
commit
87475f5b3a
@ -122,6 +122,15 @@
|
||||
</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if data.requirements is defined %}
|
||||
{% for name, infos in data.requirements %}
|
||||
<p class="tuple">
|
||||
<input type="text" class="key" value="{{ name }}" placeholder="Key" />
|
||||
<span>=</span>
|
||||
<input type="text" class="value" placeholder="{% if infos.description is defined %}{{ infos.description }}{% else %}Value{% endif %}" /> <span class="remove">-</span>
|
||||
</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if data.filters is defined %}
|
||||
{% for name, infos in data.filters %}
|
||||
<p class="tuple">
|
||||
|
Loading…
x
Reference in New Issue
Block a user