redash/templates/setup.html
{% extends "layouts/signed_out.html" %} {% block title %}Redash Initial Setup{% endblock %} {% macro render_field_errors(field) -%} {% if field.errors %} {% for e in field.errors %}
{{ e }}
{% endfor %} {% endif %} {%- endmacro %} {% macro render_field(field, help_block=None) -%} {{ field.label() }} {{ field(class='form-control') }} {% if help_block %}
{{ help_block }}
{% endif %} {{ render_field_errors(field) }} {%- endmacro %} {% block content %}
Before you can use your instance, you need to do a quick setup. {% with messages = get_flashed_messages() %} {% if messages %} {% for message in messages %} {{ message }} {% endfor %} {% endif %} {% endwith %}
{{ render_field(form.name) }} {{ render_field(form.email) }} {{ render_field(form.password) }} {{ form.security_notifications() }} Subscribe to Security Notifications
{{ form.newsletter() }} Subscribe to newsletter (version updates, no more than once a month)
{{ render_field(form.org_name, help_block="Used in email notifications and the UI.") }} Setup
{% endblock %}