mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-09 16:50:57 +00:00
28 lines
1.1 KiB
HTML
Executable file
28 lines
1.1 KiB
HTML
Executable file
{% extends "cms/wizards/base.html" %}
|
|
{% load i18n admin_urls %}
|
|
{% block wizard %}
|
|
<h1>{% trans "Create" %} {{ wizard_entry.title }}</h1>
|
|
<form action="{% url 'cms_wizard_create' %}" method="post" enctype="multipart/form-data" novalidate>
|
|
{% csrf_token %}
|
|
{{ wizard.management_form }}
|
|
{% if form.errors %}
|
|
<p class="errornote">
|
|
{% blocktrans count form.errors|length as counter %}
|
|
Please correct the error below.{% plural %}Please correct the errors below.
|
|
{% endblocktrans %}
|
|
</p>
|
|
{% endif %}
|
|
<div>
|
|
{% include "cms/wizards/includes/form_fields.html" %}
|
|
</div>
|
|
<div class="submit-row">
|
|
<input type="submit" class="default cms-btn cms-btn-action" value="{% trans "Create" %}">
|
|
<button type="submit"
|
|
name="wizard_goto_step"
|
|
class="cms-btn cms-btn-secondary cms-btn-group"
|
|
value="{{ wizard.steps.prev }}">
|
|
{% trans "Back" %}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|