{% import json %} {% import gramex.data %} {% from gramex.config import variables as var %} {% import urllib.parse %} {% set base = '..' %} {% set form_id = handler.path_args[1] %} {% set view = 'form' %} {% set metadata = json.loads(gramex.data.filter(url=var.FORMS_URL, table=var.FORMS_TABLE, args={'id': [form_id]})['metadata'].values[0]) %} View a form - Form Builder {% set title = 'Forms' %} {% if handler.path_args[0] == 'form' %} {% include 'template-navbar-view-form.html' %}

{{ metadata['name'] }}

{{ metadata['description'] }}

You are currently previewing the form.

Edit View form

{% include 'modals/themes.html' %} {% include 'modals/settings.html' %} {% include 'modals/send.html' %} {% include 'modals/remove.html' %} {% else %}

{{ metadata['name'] }}

{{ metadata['description'] }}

{% end %}
{% include 'toast.html' %}