{% extends "fellchensammlung/base.html" %}
{% load i18n %}
{% load widget_tweaks %}

{% block content %}
    <h1 class="title is-1">{{ animal }}</h1>
    <form method="post" enctype="multipart/form-data">
        {% csrf_token %}

        {{ form }}
        <input class="button is-primary" type="submit" value="{% translate "Speichern" %}">

        <a class="button is-danger" href="{% url 'animal-delete' animal_id=animal.pk %}">{% translate "Löschen" %}</a>
    </form>
{% endblock %}