{% extends "base.html" %} {% block title %}{{ t.setup_title }}{% endblock %} {% macro field_error(name) -%} {% if errors.get(name) %}{{ t[errors[name]] }}{% endif %} {%- endmacro %} {% macro invalid(name) -%} {% if errors.get(name) %}class="input-error" aria-invalid="true"{% endif %} aria-describedby="{{ name }}-error" {%- endmacro %} {% block content %}

{{ t.setup_title }}

{{ t.setup_intro }}

{% if errors %} {% endif %}

{{ t.section_boards }}

{{ field_error('content_language') }}
{{ t.boards_hint }} {{ field_error('boards') }}
{{ t.home_link_hint }} {{ field_error('home_link') }}

{{ t.section_sources }}

{{ t.sources_hint }}

{{ t.blog_feed_hint }} {{ field_error('blog_feed') }}
{{ t.youtube_channel_hint }} {{ field_error('youtube_channel') }}

{{ t.section_keys }}

{% if groq_key_saved %}{{ t.groq_saved }}{% else %}{{ t.groq_hint }}{% endif %} {{ field_error('groq_key') }}

{{ t.section_login }}

{{ t.login_manual_hint }}

{{ t.login_password_hint }}

{{ field_error('pinterest_email') }}
{{ field_error('pinterest_password') }}

{{ t.section_schedule }}

{{ field_error('start_hour') }}
{{ field_error('account_created') }}
{% endblock %} {% block scripts %} {% if errors %} {% endif %} {% endblock %}