kopia lustrzana https://github.com/wagtail/bakerydemo
16 wiersze
361 B
HTML
16 wiersze
361 B
HTML
{% extends "base.html" %}
|
|
{% load wagtailcore_tags %}
|
|
|
|
{% block content-header %}
|
|
{{ page.title }}
|
|
{{ page.intro|richtext }}
|
|
{% endblock content-header %}
|
|
|
|
{% block content-body %}
|
|
<form action="{% pageurl page %}" method="POST">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<input type="submit">
|
|
</form>
|
|
{% endblock content-body %}
|