mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #381 from mvdbos/master
Only render sandbox config if the sandbox is enabled
This commit is contained in:
commit
a88e7d8278
@ -15,6 +15,7 @@
|
||||
<body>
|
||||
<div id="header">
|
||||
<a href="{{ path('nelmio_api_doc_index') }}"><h1>{{ apiName }}</h1></a>
|
||||
{% if enableSandbox %}
|
||||
<div id="sandbox_configuration">
|
||||
body format:
|
||||
<select id="body_format">
|
||||
@ -36,6 +37,7 @@
|
||||
api endpoint: <input type="text" id="api_endpoint" value=""/>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<br style="clear: both;" />
|
||||
</div>
|
||||
{% include motdTemplate %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user