projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b76bdd
)
Add support for a pre-form block on generic forms
author
Magnus Hagander
<magnus@hagander.net>
Thu, 22 Jun 2017 18:44:02 +0000
(20:44 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 22 Jun 2017 18:44:02 +0000
(20:44 +0200)
templates/base/form.html
patch
|
blob
|
blame
|
history
diff --git
a/templates/base/form.html
b/templates/base/form.html
index 0e03fe1d6cf2590845db8bc2133094846b9aee24..c21b55ee96399b31ca7fd5bfcdc7571da710ac4b 100644
(file)
--- a/
templates/base/form.html
+++ b/
templates/base/form.html
@@
-2,6
+2,7
@@
{%load pgfilters%}
{%block title%}{{operation|default:"Edit"}} {{formitemtype}}{%endblock%}
{%block contents%}
+{%block pre_form_header%}{%endblock%}
<h1>{{operation|default:"Edit"}} {{formitemtype}}</h1>
<form method="post" action=".">{%if not nocsrf%}{% csrf_token %}{%endif%}
{%if form_intro%}