Sith/core/templates/core/create.jinja

19 lines
490 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 %}
2016-08-15 19:04:06 +00:00
{% endblock %}
2016-04-20 01:01:14 +00:00
{% block content %}
<h2>{% trans name=form.instance.__class__._meta.verbose_name %}Create {{ name }}{% endtrans %}</h2>
<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