rustio-admin 0.8.0

Django Admin, but for Rust. A small, focused admin framework.
Documentation
{% extends "admin/_base.html" %}
{% block sidebar %}{% endblock %}
{% block extra_head %}
{% if correlation_id %}<meta name="rio-correlation-id" content="{{ correlation_id }}">{% endif %}
{% endblock %}
{% block content %}
<div class="rio-login">
{% if invalid %}
  <h1 class="rio-login-title">This link is no longer valid</h1>
  <p class="rio-login-intro">
    Reset links expire 1 hour after they're sent and can only be used once.
  </p>
  <p class="rio-login-footer">
    <a class="rio-button rio-button--primary" href="/admin/forgot-password">Request a new link</a>
  </p>
{% else %}
  <h1 class="rio-login-title">Set a new password</h1>
  <p class="rio-login-intro">
    Enter a new password. After saving, you'll be signed out everywhere and
    will need to sign in again with the new password.
  </p>
  {% if errors %}
  <div class="rio-flash rio-flash--error" role="alert">
    <ul>{% for e in errors %}<li>{{ e }}</li>{% endfor %}</ul>
  </div>
  {% endif %}
  <form method="post" action="/admin/reset-password/{{ token }}" class="rio-form rio-form--login" autocomplete="off">
    <input type="hidden" name="_csrf" value="{{ csrf_token }}">
    {% for section in sections %}
      {% for field in section.fields %}{% include "admin/includes/_form_field.html" %}{% endfor %}
    {% endfor %}
    <button type="submit" class="rio-button rio-button--primary">Save new password</button>
  </form>
{% endif %}
</div>
{% endblock %}