learn_enough_python_code_li.../Listing_10.58.html
2022-10-19 08:28:58 -07:00

20 lines
406 B
HTML

{% extends "layout.html" %}
{% block content %}
<h1>Palindrome Result</h1>
{% if ispalindrome %}
<div class="result result-success">
<p>"{{ phrase }}" is a palindrome!</p>
</div>
{% else %}
<div class="result result-fail">
<p>"{{ phrase }}" isn't a palindrome.</p>
</div>
{% endif %}
<h2>Try another one!</h2>
{% include "palindrome_form.html" %}
{% endblock %}