No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

obj_edit.html 507B

123456789101112131415161718192021
  1. {% extends "base.html" %}
  2. {% load crispy_forms_tags %}
  3. {% block content %}
  4. <div class="row">
  5. <div class="col-sm-12">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">Edit {{ form.instance }} <small>({{ form.instance.getClassName }})</small></div>
  8. <div class="panel-body">
  9. <form method="post" action="#">
  10. {% csrf_token %}
  11. {{ form | crispy }}
  12. <button type="submit" class="btn btn-primary">Update</button>
  13. </form>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. {% endblock %}