diff --git a/puppetboard/templates/query.html b/puppetboard/templates/query.html index 4610779..86327c3 100644 --- a/puppetboard/templates/query.html +++ b/puppetboard/templates/query.html @@ -1,42 +1,42 @@ {% extends 'layout.html' %} {% block content %}

Compose

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %}
{{ form.csrf_token }}
- {{ form.query(autofocus="autofocus", rows=5, placeholder="Enter your query: [\"=\", \"name\", \"hostname\"]. You may omit the opening and closing bracket.") }} + {{ form.query(autofocus="autofocus", rows=5, placeholder="Enter your query: [\"=\", \"certname\", \"hostname\"]. You may omit the opening and closing bracket.") }}
{% for subfield in form.endpoints %}
{{ subfield }} {{ subfield.label }}
{% endfor %}
{% if result %}

Result

{{ result|jsonprint }}
{% endif %} {% endblock content %}