{% extends 'base.html' %} {% load static i18n %} {% load widget_tweaks %} {% load django_bootstrap_breadcrumbs %} {% block breadcrumbs %} {{ block.super }} {% trans 'Settings: Mail Sender' as bread %} {% breadcrumb bread 'mailsender:update' %} {% endblock %} {% block content %}
{% csrf_token %} {% trans 'General server settings' %} {% trans 'If your email host is Gmail make sure to turn on the option "Allow less secure apps" in' %}: https://www.google.com/settings/security/lesssecureapps

{% for field in form %} {% if field.auto_id == 'id_username' %}
{% trans 'Autentication' %} {% elif field.auto_id == 'id_crypto' %}
{% trans 'Criptografy' %} {% endif %}
{% if field.field.required %} {% else %} {% endif %} {% render_field field class='form-control' %} {{ field.help_text }} {% if field.errors %} {% endif %}
{% endfor %}


{% endblock %}