master
Aevann1 2021-12-08 02:18:56 +02:00
parent 3ffae3f46a
commit 42c889dd09
1 changed files with 3 additions and 8 deletions

View File

@ -6,16 +6,11 @@
{% endblock %}
{% block content %}
<h1>Vote Info</h1>
<form action="votes" method="get" class="mb-6">
<label for="link-input">Paste permalink</label>
<input id="link-input" type="text" class="form-control mb-2" name="link" value="{{thing.permalink if thing else ''}}">
<input type="submit" value="Submit" class="btn btn-primary">
</form>
{% if thing %}
<pre>
</pre>
<h1>Info</h1>
<p><a href="{{thing.permalink}}">{{thing.permalink}}</a></p>
<p><b>Author:</b> <a href="{{thing.author.url}}">@{{thing.author.username}}</a></p>