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>
20 lines
425 B
HTML
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 %}
|