{% extends "base.html" %}

{% block content %}
    <div class="block"><h1 class="title is-large">{{ _("Choose Services") }}.</h1></div>
    <div class="block"><p class="subtitle"> {{ _("To learn more about individual services and what is required to run them, visit the Help Center. You can change the services anytime.") }}</p></div>

<div class="block grid">

{% import "bulma_wtf.html" as wtf %}
    <form action="" method="post" enctype="multipart/form-data" novalidate >
        {{ form.hidden_tag() }}
        <div class="field checkbox">
            {{ wtf.form_bool_field(form.enable_chat) }}
            <p class="help butter-form-margin">{{ _("Whether Matrix chat services are enabled.")}}</p>
        </div>
        <div class="field checkbox">
            {{ wtf.form_bool_field(form.enable_deltachat) }}
            <p class="help butter-form-margin">{{ _("Whether messaging using DeltaChat is enabled.")}}</p>
        </div>
        <div class="field checkbox">
            {{ wtf.form_bool_field(form.enable_file_viewer) }}
            <p class="help butter-form-margin">{{ _("Whether files services via USB are enabled.")}}</p>
        </div>
        <div class="control block">
            <button class="button"> <a href={{ url_for("admin_setup") }}>{{ _("Back") }}</a></button>
             {{ form.submit( class="button is-link") }}
        </div>
    </form>
</div>

{% endblock %}