2024-07-30 17:38:04 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
|
|
|
<h3>{{ subtitle }}</h3>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-11-11 17:47:44 +00:00
|
|
|
<!-- override invalid-feedback class -->
|
|
|
|
<style>
|
|
|
|
.invalid-feedback {
|
|
|
|
color: #670000;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2024-07-30 17:38:04 +00:00
|
|
|
{% load django_bootstrap5 %}
|
|
|
|
<form role="form" method="post" enctype="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
2024-11-11 17:47:44 +00:00
|
|
|
|
|
|
|
{% bootstrap_form form alert_error_type="none" error_css_class="alert alert-danger alert-icon alert-icon-border" %}
|
|
|
|
<div class="form-actions-no-box">
|
2024-11-11 07:28:41 +00:00
|
|
|
<a class="btn btn-grey" href="{% url 'dashboard:unassigned_devices' %}">{% translate "Cancel" %}</a>
|
2024-07-30 17:38:04 +00:00
|
|
|
<input class="btn btn-green-admin" type="submit" name="submit" value="{% translate 'Save' %}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|