{% extends 'solver_bs/base.html' %} {% block content %} {% block form %} Utilisation d'un formulaire ! {% endblock %}

Résoudre une équation du second degré

Entrez les coefficients pour résoudre une équation sous la forme ax² + bx + c = 0.

{% csrf_token %} {% for field in form %}
{{ field.label_tag }} {{ field }} {% if field.errors %}
{{ field.errors|join:", " }}
{% endif %}
{% endfor %}
{% if error_message %} {% endif %} {% if solution %}

Solution :

{{ solution }}

{% endif %}
{% endblock %}