renox-core 1.0.0

Runtime of the Renox web framework: routing, views, database and models, validation, auth, queue, scheduler, mail, storage. Use it through the `renox` crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "renox/auth/layout.html" %}
{% from "renox/ui.html" import card, input, button %}
{% block title %}{{ text.register_title }} ยท {{ app.name }}{% endblock %}
{% block content %}
<form method="post" action="{{ route('register') }}" hx-post="{{ route('register') }}">
  {{ csrf_field() }}
  {% call card(title=text.register_title) %}
    {{ input("name", text.name, required=true, autocomplete="name", attrs={"autofocus": true}) }}
    {{ input("email", text.email, type="email", required=true, autocomplete="username") }}
    {{ input("password", text.password, type="password", revealable=true, required=true, autocomplete="new-password") }}
    {{ input("password_confirmation", text.password_confirmation, type="password", revealable=true, required=true, autocomplete="new-password") }}
    {{ button(text.register_button, block=true) }}
  {% endcall %}
</form>
{% with page="register" %}{% include "renox/auth/login_options.html" ignore missing %}{% endwith %}
<p class="rx-auth__alt">{{ text.have_account }} <a class="rx-link" href="{{ route('login') }}">{{ text.login_button }}</a></p>
{% endblock %}