mirrormanager-rocky/templates/rocky/site_admin_new.html

24 lines
640 B
HTML
Raw Permalink Normal View History

2024-08-29 23:13:29 +00:00
{% 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 %}