2020-05-27 12:24:06 +00:00
|
|
|
{% extends "base.html" %}
|
2020-05-19 16:53:54 +00:00
|
|
|
{% load bootstrap4 %}
|
2020-06-15 08:46:13 +00:00
|
|
|
{% load icons %}
|
2020-05-27 12:24:06 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
2020-06-16 12:04:37 +00:00
|
|
|
{% block title %}{{ title }}{% endblock %}
|
2020-05-27 12:24:06 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<h2 class="page-header">{{ title }}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-29 13:37:49 +00:00
|
|
|
{% bootstrap_messages %}
|
2020-05-27 12:24:06 +00:00
|
|
|
<div class="row">
|
2020-05-19 16:53:54 +00:00
|
|
|
<div class="thumbnail col-sm-10 offset-1">
|
|
|
|
<form id="create-update" action="" method="post">
|
2020-05-27 12:24:06 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{% bootstrap_form form layout='horizontal' %}
|
|
|
|
</form>
|
2020-05-19 16:53:54 +00:00
|
|
|
<div class="form-group float-right">
|
2020-05-27 12:24:06 +00:00
|
|
|
<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 %}
|