{% extends "nobinobi_child/base.html" %} {% load i18n static get_verbose_names crispy_forms_tags %} {% block title %}{{ title }}{% endblock %} {#{% block extrastyle %}#} {#{% endblock %}#} {% block breadcrumb %} {{ block.super }} {% endblock %} {% block content_title %}{{ title }}{% endblock %} {% block content_card_title %}{% blocktrans with child.full_name as child %}{{ child }}'s picture{% endblocktrans %}{% endblock %} {% block content_card_body %} {% include "includes/messages.html" %}
{% if child.picture and child.picture.url %} {{ child.full_name }}'s {% trans {% else %} {% if child.gender == "boy" %} {% trans {% elif child.gender == "girl" %} {% trans {% else %} {% trans {% endif %} {% endif %}

{% csrf_token %} {{ form.picture }}
{% endblock %} {% block content_card_footer %}{% endblock %}