mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
stopped displaying readonly input parameters in html template
This commit is contained in:
parent
94a3d5858f
commit
da1116a43a
@ -97,13 +97,14 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for name, infos in data.parameters %}
|
||||
<tr>
|
||||
<td>{{ name }}</td>
|
||||
<td>{{ infos.dataType }}</td>
|
||||
<td>{{ infos.required ? 'true' : 'false' }}</td>
|
||||
<td>{{ infos.readonly ? 'true' : 'false' }}</td>
|
||||
<td>{{ infos.description }}</td>
|
||||
</tr>
|
||||
{% if not infos.readonly %}
|
||||
<tr>
|
||||
<td>{{ name }}</td>
|
||||
<td>{{ infos.dataType }}</td>
|
||||
<td>{{ infos.required ? 'true' : 'false' }}</td>
|
||||
<td>{{ infos.description }}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user