templates: set document type to html, prevent quicks mode
This commit is contained in:
30
aircox/templates/aircox/episode_form.html
Normal file
30
aircox/templates/aircox/episode_form.html
Normal file
@ -0,0 +1,30 @@
|
||||
{% extends "aircox/basepage_detail.html" %}
|
||||
{% load static i18n humanize honeypot aircox %}
|
||||
|
||||
|
||||
{% block head_extra %}
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
|
||||
{% block init-scripts %}
|
||||
{% endblock %}
|
||||
|
||||
{% block top-nav-tools %}
|
||||
<a class="navbar-item" href="{% url 'episode-detail' object.slug %}" target="_self">
|
||||
<span class="icon is-small">
|
||||
<i class="fa fa-eye"></i>
|
||||
</span>
|
||||
<span>{% translate "View" %}</span>
|
||||
</a>
|
||||
{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
<form method="post" enctype="multipart/form-data">{% csrf_token %}
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
{% render_honeypot_field "website" %}
|
||||
</table>
|
||||
<br/>
|
||||
<input type="submit" value="Update" class="button is-success">
|
||||
</form>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user