{% extends 'base.html' %}
{% from 'bootstrap/form.html' import render_form %}

{% block title %}注册{% endblock %}

{% block content %}
    <div class="jumbotron">
        <div class="row">
            <div class="col-md-8">
                <img src="{{ url_for('static', filename='images/index2.jpg') }}" class="rounded img-fluid">
            </div>
            <div class="col-md-4">
                <div class="card mb-3 w-100 bg-light">
                    <div class="card-header"><h4>Welcome to Touch!</h4></div>
                    <div class="card-body">
                        {{ render_form(form) }}
                        <hr>
                        <small>已有账号? <a href="{{ url_for('.login') }}">点击此处登陆</a>
                        </small>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}