{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_errors, render_field %}
{%- block title -%}
{{ _('Notifications') }}
{%- endblock -%}
{% block content %}

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
      <li class="breadcrumb-item"><a href="{{ url_for('profile') }}">{{ _('Profile') }}</a></li>
      <li class="breadcrumb-item active" aria-current="page">{{ _('Notifications') }}</li>
  </ol>
</nav>

<form action="" method="POST">
  {{ form.hidden_tag() }}
  {{ render_field_with_errors(form.newsletter_enabled, ri="switch") }}
  {{ render_field(form.submit) }}
</form>

{% endblock %}
