recup code pour mu editor

This commit is contained in:
2025-07-05 16:11:20 +02:00
parent 12b8efafbf
commit 5e9ac09dcf
25 changed files with 1006 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{% extends "base.html" %}
{% block content %}
<h1>Age-o-meter</h1>
<p>How old are you..?
<form action="/age" method="post">
{% if error %}
<p><strong>{{error}}</strong></p>
{% endif %}
<label for="dob">Please enter your date of birth:</label>
<input type="text" name="dob" placeholder="YYYY-MM-DD">
<input type="submit" value="Submit">
</form>
{% if days_old %}
<p>Your are <strong>{{days_old}}</strong> days old.</p>
{% endif %}
{% endblock %}