Back to Redash

Setup

redash/templates/setup.html

26.05.0-dev1.1 KB
Original Source

{% 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 %}

Welcome to Redash!

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 %}

Admin User

{{ 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)

General

{{ render_field(form.org_name, help_block="Used in email notifications and the UI.") }} Setup

{% endblock %}