more generic views

This commit is contained in:
vabene1111
2018-05-02 22:28:02 +02:00
parent b3a45d8069
commit 399f581d86
7 changed files with 70 additions and 13 deletions

View File

@@ -2,14 +2,11 @@
{% load crispy_forms_tags %}
{% load i18n %}
{% block title %}{% trans 'Edit' %}{% endblock %}
{% block title %}{% trans 'Edit' %} - {{ title }}{% endblock %}
{% block content %}
<h3>
{% trans 'Edit' %}
<small class="text-muted">{% trans 'Edit this Object' %}</small>
</h3>
<h3>{% trans 'Edit' %} {{ title }}</h3>
<form action="." method="post">
{% csrf_token %}