{% extends "base_view.html" %} {% load static %} {% load widget_tweaks %} {% block title %} meliza-lab : bird colony : add or change event {% endblock title%} {% block css %} {% endblock %} {% block scripts %} {% endblock %} {% block content %}

Add or change event for {{ animal }}

{% csrf_token %}

Instructions: This form is for adding or changing an event for {{ animal }}. Events track each individual's life history and allow us to determine its current status and location. It's important to choose the right event type; see below for descriptions of all the options.

{% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %}
{% render_field form.status class+="form-control" %}
{% render_field form.date class+="form-control" data-format="MM/dd/YYYY" %}
{% render_field form.location class+="form-control" %}
{% render_field form.description class+="form-control" rows="3"%}
{% render_field form.entered_by class+="form-control" %}

Optional: If any measurements were taken of the animal during the event, they can be added here. Set the value to blank to remove the measurement.

{{ measurements.management_form }} {% for form in measurements %}
{{ form.type.as_hidden }}
{% render_field form.value class+="form-control" rows="3"%}
{% endfor %}
{% if event %}

To delete this event, use the admin interface.

{% endif %}

Event Type Reference

Some event types have effects on what the database infers about an animal's life history. When entering an event that marks an animal as removed or deceased, be sure to choose an event type that reflects whether the death was expected (experimental use, culling, transfer out, or sequelae from an accident) or unexpected (natural death or euthanasia related to illness or untreatable distress)

{% for event_type in event_types %} {% endfor %}
Name Effect Description
{{ event_type.name }} {{ event_type.effect|default_if_none:"-" }} {{ event_type.description }}
{% endblock %}