Sith/core/templates/core/create.jinja

19 lines
482 B
Django/Jinja
Raw Normal View History

2016-04-20 01:01:14 +00:00
{% extends "core/base.jinja" %}
2016-08-15 19:04:06 +00:00
{% block title %}
{% trans name=form.instance.__class__._meta.verbose_name %}Create {{ name }}{% endtrans %}
{% endblock %}
2016-04-20 01:01:14 +00:00
{% block content %}
2016-07-27 18:05:45 +00:00
<h2>{% trans name=form.instance.__class__._meta.verbose_name %}Create {{ name }}{% endtrans %}</h2>
2016-08-31 13:29:16 +00:00
<form action="" method="post" enctype="multipart/form-data">
2016-07-19 17:03:16 +00:00
{% csrf_token %}
{{ form.as_p() }}
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
</form>
2016-04-20 01:01:14 +00:00
{% endblock %}
2016-06-24 17:43:11 +00:00