{% extends "bootstrap/base.html" %}
{% import "macros.html" as macros %}

{% block title %}Mailu setup{% endblock %}

{% block content %}
<div class="container">
  <h1>Mailu configuration</h1>
  <p>
    Version
    <select onchange="window.location.href=this.value;" class="btn btn-primary dropdown-toggle">
      {% for module in versions %}
      <option value="/{{ module }}" {% if module == version %}selected{% endif %}>{{ module }}</option>
      {% endfor %}
    </select>
  </p>

  {% block page %}{% endblock %}

</div>
<p></p>
{% endblock %}
