24 lines
640 B
HTML
24 lines
640 B
HTML
{% extends "master.html" %}
|
|
{% from "_formhelpers.html" import render_field %}
|
|
|
|
{% block title %}New Site Admin{% endblock %}
|
|
{%block tag %}home{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="card my-3 mx-auto col-6">
|
|
<div class="card-header">
|
|
<h6 class="mb-0">Add Site admin to site: {{ site.name }}</h6>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="{{ url_for('base.siteadmin_new', site_id=site.id) }}" method="POST">
|
|
{{ render_field(form.username) }}
|
|
<p>
|
|
<input type="submit" class="btn btn-primary" value="Create">
|
|
{{ form.csrf_token }}
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|