mirrormanager2-container/templates/rocky/host_category_new.html

28 lines
851 B
HTML
Raw Normal View History

2024-08-29 23:13:29 +00:00
{% extends "master.html" %}
{% from "_formhelpers.html" import render_field, render_switch %}
{% block title %}New Host Category{% 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 category</h6>
</div>
<div class="card-body">
<p>
Hosts carry categories of software. Example Rocky categories include
Rocky, Rocky SIGs, and Rocky Vault.
</p>
<form action="{{ url_for('base.host_category_new', host_id=host.id) }}" method="POST">
{{ render_field(form.category_id) }}
{% if is_admin %}{{ render_switch(form.always_up2date) }}{% endif %}
<p>
<input type="submit" class="btn btn-primary" value="Create">
{{ form.csrf_token }}
</p>
</form>
</div>
</div>
{% endblock %}