We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d77e986 commit ca2e94fCopy full SHA for ca2e94f
tifeatures/factory.py
@@ -460,7 +460,7 @@ def queryables(
460
return create_html_response(
461
request,
462
data.json(exclude_none=True),
463
- template_name="collection",
+ template_name="queryables",
464
)
465
466
return data
tifeatures/templates/queryables.html
@@ -0,0 +1,20 @@
1
+{% include "header.html" %}
2
+
3
+<h1>Collection: {{ response.title or response.id }}</h1>
4
5
+<div class="row">
6
+ <div class="col-sm">
7
+ <h2>Queryables</h2>
8
+ <ul>
9
+ {% for k,v in response.properties.items() %}
10
+ <li>{% if '$ref' in v %}
11
+ <a href="{{ v['$ref'] }}">{{ k }}</a>
12
+ {% else %}
13
+ {{ k }}: {{ v['type'] }}
14
+ {% endif %}
15
+ {% endfor %}
16
+ </ul>
17
+ </div>
18
+</div>
19
20
+{% include "footer.html" %}
0 commit comments