2017-11-28 14:02:46 +00:00
|
|
|
{% extends "core/base.jinja" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2024-07-23 22:16:31 +00:00
|
|
|
{% trans %}Poster{% endtrans %}
|
2017-11-28 14:02:46 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2024-07-23 22:16:31 +00:00
|
|
|
<div id="poster_edit">
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
<div id="title">
|
2024-07-23 22:16:31 +00:00
|
|
|
<div id="links" class="left">
|
|
|
|
{% if app == "com" %}
|
|
|
|
<a id="list" class="link" href="{{ url(app + ":poster_list") }}">{% trans %}List{% endtrans %}</a>
|
|
|
|
{% elif app == "club" %}
|
|
|
|
<a id="list" class="link" href="{{ url(app + ":poster_list", club.id) }}">{% trans %}List{% endtrans %}</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<h3>{% trans %}Posters - edit{% endtrans %}</h3>
|
|
|
|
<div id="links" class="right">
|
|
|
|
{% if app == "com" %}
|
|
|
|
<a class="link delete" href="{{ url(app + ":poster_delete", poster.id) }}">{% trans %}Delete{% endtrans %}</a>
|
|
|
|
{% elif app == "club" %}
|
|
|
|
<a class="link delete" href="{{ url(app + ":poster_delete", club.id, poster.id) }}">{% trans %}Delete{% endtrans %}</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2017-11-28 14:02:46 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="poster">
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
<form action="" method="post" enctype="multipart/form-data">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.as_p() }}
|
|
|
|
<p><input type="submit" value="{% trans %}Save{% endtrans %}" /></p>
|
|
|
|
</form>
|
2017-11-28 14:02:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2024-07-23 22:16:31 +00:00
|
|
|
</div>
|
2017-11-28 14:02:46 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|