generic views

This commit is contained in:
vabene1111
2018-03-30 22:41:23 +02:00
parent 8c6019756f
commit 37639ad4c7
23 changed files with 113 additions and 247 deletions

View File

@@ -0,0 +1,20 @@
{% extends "base.html" %}
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}{% trans 'Edit' %}{% endblock %}
{% block content %}
<h3>
{% trans 'Edit' %}
<small class="text-muted">{% trans 'Edit this Object' %}</small>
</h3>
<form action="." method="post">
{% csrf_token %}
{{ form|crispy }}
<input type="submit" value="Submit" class="btn btn-success">
</form>
{% endblock %}