mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Merge pull request #823 from ImmRanneft/master
Little template fixes for sandbox
This commit is contained in:
commit
4660805291
@ -193,7 +193,7 @@
|
|||||||
placeholder += "[" + $context.parent().attr("data-dataType") + "] ";
|
placeholder += "[" + $context.parent().attr("data-dataType") + "] ";
|
||||||
}
|
}
|
||||||
if ($context.parent().attr("data-format") != "" && typeof $context.parent().attr("data-format") != "undefined") {
|
if ($context.parent().attr("data-format") != "" && typeof $context.parent().attr("data-format") != "undefined") {
|
||||||
placeholder += $context.parent().attr("data-dataType");
|
placeholder += $context.parent().attr("data-format");
|
||||||
}
|
}
|
||||||
if ($context.parent().attr("data-description") != "" && typeof $context.parent().attr("data-description") != "undefined") {
|
if ($context.parent().attr("data-description") != "" && typeof $context.parent().attr("data-description") != "undefined") {
|
||||||
placeholder += $context.parent().attr("data-description");
|
placeholder += $context.parent().attr("data-description");
|
||||||
|
@ -240,7 +240,7 @@
|
|||||||
<h4>Parameters</h4>
|
<h4>Parameters</h4>
|
||||||
{% for name, infos in data.parameters %}
|
{% for name, infos in data.parameters %}
|
||||||
{% if not infos.readonly %}
|
{% if not infos.readonly %}
|
||||||
<p class="tuple" data-dataType="{% if infos.dataType %}{{ infos.dataType }}{% endif %}" data-format="{% if infos.format %}{{ infos.format }}{% endif %}" data-description="{% if infos.description %}{{ infos.description }}{% endif %}">
|
<p class="tuple" data-dataType="{% if infos.dataType %}{{ infos.dataType }}{% endif %}" data-format="{% if infos.format %}{{ infos.format }} {% endif %}" data-description="{% if infos.description %}{{ infos.description }}{% endif %}">
|
||||||
<input type="text" class="key" value="{{ name }}" placeholder="Key" />
|
<input type="text" class="key" value="{{ name }}" placeholder="Key" />
|
||||||
<span>=</span>
|
<span>=</span>
|
||||||
<select class="tuple_type">
|
<select class="tuple_type">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user