jumpserver/apps/templates/_base_create_update.html

45 lines
1.7 KiB
HTML
Raw Normal View History

2016-09-17 15:43:41 +00:00
{% extends 'base.html' %}
{% load i18n %}
{% load static %}
2017-04-08 16:45:28 +00:00
{% load bootstrap3 %}
2016-09-17 15:43:41 +00:00
{% block custom_head_css_js %}
2018-01-05 09:57:02 +00:00
<link href="{% static 'css/plugins/select2/select2.min.css' %}" rel="stylesheet">
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
2016-09-17 15:43:41 +00:00
{% block custom_head_css_js_create %} {% endblock %}
{% endblock %}
{% block content %}
<div class="wrapper wrapper-content animated fadeInRight">
<div class="row">
<div class="col-sm-12">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>{{ action }}</h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
</a>
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<i class="fa fa-wrench"></i>
</a>
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
<div class="ibox-content">
2016-11-09 11:29:15 +00:00
{% if form.errors.all %}
<div class="alert alert-danger" style="margin: 20px auto 0px">
{{ form.errors.all }}
</div>
{% endif %}
{% block form %}
{% endblock %}
2016-09-17 15:43:41 +00:00
</div>
</div>
</div>
</div>
</div>
{% endblock %}
2016-11-09 11:29:15 +00:00