generator_conf_edit.html
26 lines
| 823 B
| text/html
|
HtmlDjangoLexer
r348 | {% extends "dev_conf_edit.html" %} | ||
{% load bootstrap4 %} | |||
{% load static %} | |||
{% block extra-head %} | |||
<style type="text/css"> | |||
/* show the move cursor as the user moves the mouse over the panel header.*/ | |||
.panel-default { cursor: move; } | |||
</style> | |||
<script src="{% static 'js/jquery-ui.min.js' %}"></script> | |||
{% endblock %} | |||
{% block content %} | |||
<form class="form" method="post"> | |||
{% csrf_token %} | |||
r350 | <h2>Generator</h2> | ||
r348 | {% bootstrap_form form layout='horizontal' size='medium' %} | ||
<div style="clear: both;"></div> | |||
<br> | |||
<div class="pull-right"> | |||
<button type="button" class="btn btn-primary" onclick="{% if previous %}window.location.replace('{{ previous }}');{% else %}history.go(-1);{% endif %}">Cancel</button> | |||
<button type="submit" class="btn btn-primary">{{button}}</button> | |||
</div> | |||
</form> | |||
{% endblock %} | |||