This commit is contained in:
Edward Betts 2023-09-29 14:17:56 +01:00
parent 7813d1a7f0
commit b6953cf52f
7 changed files with 135 additions and 34 deletions

View file

@ -1,7 +1,21 @@
{% extends "base.html" %}
{% block title %}DAB Mechanic{% endblock %}
{% block content %}
<div class="m-3">
<form>
article title:
<input name="title" value="{{ request.args.get("title", "") }}">
<button class="btn btn-sm btn-primary">go</button>
</form>
{% if title and not exists %}
<p>No article titled "{{ title }}" found in Wikipedia.</p>
{% endif %}
<ol>
{% for enwiki, count in articles %}
<li>