{% extends "base.html" %} {% load mathfilters %} {% block title %}Yeast Samples{% endblock %} {% block style %} .table td.fit, .table th.fit { white-space: nowrap; width: 1%; } {% endblock %} {% block jumbotron %}Yeast Sample{% endblock %} {% block jumbotronsub %}
{{ batch.strain.manufacturer.name }}, {{ batch.strain.name }}Admin
Batch Source {{ batch.get_source_display }} {% if batch.source_batch %} from #{{ batch.beer_num }}: {{ batch.beer_name }}
{% endif %}
Production Date{{ sample.propogation.production_date }}
Storage {{ sample.storage }} {% if sample.pitched %} (Pitched #{{ sample.pitched_batch.brewfather_num }}: {{ sample.pitched_batch.brewfather_name }}) {% endif %}
{% endblock %} {% block content %}

{% csrf_token %} Propogate Yeast Sample
{{ propogate_form.num }}
New samples will be automatically created
{{ propogate_form.storage }}
How will samples be stored?

{% csrf_token %} Pitch Yeast Sample
{{ pitch_form.batch }}
Select batch of beer sample is pitched into.
{{ pitch_form.starter }}
{% if batch.remaining_samples %}

Other Remaining Batch Samples

    {% for s in batch.remaining_samples|dictsort:"storage.name" %} {% if s.id != sample.id %}
  • {{ s.id }} - {{ s.storage.name }} for {{ s.age }} days, {{ s.viability|mul:100|floatformat:1 }}%
  • {% endif %} {% endfor %}
{% endif %} {% if batch.used_samples %}

Other Samples Used

    {% for s in batch.used_samples %} {% if s.id != sample.id %}
  • {{ s.id }}
  • {% endif %} {% endfor %}
{% endif %}
{% endblock %}