{% extends "base_view.html" %} {% load widget_tweaks %} {% load bird_tags %} {% block title %} meliza-lab : nest check {% endblock %} {% block content %}

Nest Check


Today's nest check

Instructions: This form is for entering data from the daily nest check. Count the eggs and chicks in each nest, update the values in the last column of the table, then click Submit. Note: if chicks die, you need to add events for the specific animals, then come back and complete the nest check. You may enter more than one nest check per day.

{% csrf_token %} {{ nest_formset.management_form }} {% for date in dates %} {% endfor %} {% for pairing, form in nest_data %} {% for day in pairing.counts %} {% endfor %} {% endfor %}
location pair established{{ date|date:"D m/d/Y" }}Nest Check
{{ pairing.location }} {{ pairing.pair.short_name }} {{ pairing.pair.began_on|date:"m/d/Y" }} {{ day|count_summary }} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {{ form.pairing }} {{ form.location }}
{% render_field form.eggs class+="form-control" %}
{% render_field form.chicks class+="form-control" %}

Clicking Submit will take you to a new page where you can confirm the eggs and birds that will be added to and/or removed from the database.

Recent nest checks

{% for check in nest_checks %} {% endfor %}
Date User Comments
{{ check.datetime|date:"D m/d/Y" }} {{ check.entered_by }} {{ check.comments }}
{% endblock %}