mirrormanager-rocky/templates/rocky/host_country_new.html

29 lines
896 B
HTML
Raw Normal View History

2024-08-29 23:13:29 +00:00
{% extends "master.html" %}
{% from "_formhelpers.html" import render_field %}
{% block title %}New Host Country{% 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 host country allowed</h6>
</div>
<div class="card-body">
<p>
Some mirrors need to restrict themselves to serving only end users from
their country. If you're one of these, list the 2-letter ISO code for the
countries you will allow end users to be from. The mirrorlist CGI will
honor this.
</p>
<form action="{{ url_for('base.host_country_new', host_id=host.id) }}" method="POST">
{{ render_field(form.country) }}
<p>
<input type="submit" class="btn btn-primary" value="Create">
{{ form.csrf_token }}
</p>
</form>
</div>
</div>
{% endblock %}