2017-03-15 02:22:08 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<div class="panel panel-default">
|
2017-03-27 02:40:01 +02:00
|
|
|
<div class="panel-heading">Edit {{ form.instance }} <small>({{ form.instance.getClassName }})</small></div>
|
2017-03-15 02:22:08 +01:00
|
|
|
<div class="panel-body">
|
|
|
|
<form method="post" action="#">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form | crispy }}
|
|
|
|
<button type="submit" class="btn btn-primary">Update</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|
|
|