{% extends "base.html" %}
{% load django_bootstrap5 %}
{% load bootstrap_icons %}
{% load i18n %}

{% block title %}{% trans "Add Compute" %}{% endblock %}

{% block content %}
<div class="row">
    <div class="col-lg-12">
        <h2 class="page-header">{% trans "Create Compute" %}</h2>
    </div>
</div>
<div class="row">
    <div class="thumbnail col-sm-10 offset-1">
        <form id="create-update" action="" method="post">
            {% csrf_token %}
            {% bootstrap_form form layout='horizontal' %}
        </form>
        <div class="float-end">
            <a class="btn btn-primary" href="javascript:history.back()">
                {% bs_icon 'x-square-fill' %} {% trans "Cancel" %}</a>
            <button type="submit" form="create-update" class="btn btn-success">
                {% bs_icon 'check-circle-fill' %} {% trans "Save" %}
            </button>
        </div>
    </div>
</div>
{% endblock content %}