1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-26 16:15:25 +00:00
webvirtcloud/templates/common/form.html

27 lines
830 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% load django_bootstrap5 %}
2020-06-15 08:46:13 +00:00
{% load icons %}
{% load i18n %}
{% block title %}{{ title }}{% endblock %}
2020-10-15 14:18:45 +00:00
{% block page_heading %}{{ title }}{% endblock page_heading %}
2020-07-13 09:33:09 +00:00
{% block content %}
2020-07-13 09:33:09 +00:00
<div class="card">
<div class="card-body">
2020-05-19 16:53:54 +00:00
<form id="create-update" action="" method="post">
{% csrf_token %}
{% bootstrap_form form layout='horizontal' %}
</form>
2020-07-13 09:33:09 +00:00
</div>
<div class="card-footer">
<div class="mb-0 float-end">
<a class="btn btn-primary" href="javascript:history.back()">{% icon 'times' %} {% trans "Cancel" %}</a>
<button type="submit" form="create-update" class="btn btn-success">
{% icon 'check' %} {% trans "Save" %}
</button>
</div>
</div>
</div>
{% endblock content %}