mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Only show sandbox config if enabled
This commit is contained in:
parent
493963f0c0
commit
86d9c31340
@ -15,6 +15,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<a href="{{ path('nelmio_api_doc_index') }}"><h1>{{ apiName }}</h1></a>
|
<a href="{{ path('nelmio_api_doc_index') }}"><h1>{{ apiName }}</h1></a>
|
||||||
|
{% if enableSandbox %}
|
||||||
<div id="sandbox_configuration">
|
<div id="sandbox_configuration">
|
||||||
body format:
|
body format:
|
||||||
<select id="body_format">
|
<select id="body_format">
|
||||||
@ -36,6 +37,7 @@
|
|||||||
api endpoint: <input type="text" id="api_endpoint" value=""/>
|
api endpoint: <input type="text" id="api_endpoint" value=""/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
<br style="clear: both;" />
|
<br style="clear: both;" />
|
||||||
</div>
|
</div>
|
||||||
{% include motdTemplate %}
|
{% include motdTemplate %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user