bornhack-website/src/teams/templates/team_shift_form.html
Thomas Flummer 1c88ed8073
Added title blocks to templates that did not have one (#511)
In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page

Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
2020-06-03 21:30:10 +02:00

20 lines
425 B
HTML

{% extends 'team_base.html' %}
{% load commonmark %}
{% load bootstrap3 %}
{% block title %}
{% if object.pk %}Update{% else %}Create{% endif %} Shift | {{ block.super }}
{% endblock %}
{% block team_content %}
<form method="POST">
{% csrf_token %}
{% bootstrap_form form %}
<button type="submit" class="btn btn-success">
{% if object.pk %}Update{% else %}Create{% endif %}
</button>
</form>
{% endblock %}