[Bugfix] Fix user follow

* The link didn’t have a closing tag
* The whole mechanism didn’t work

I probably submitted a previous patch…
This commit is contained in:
2018-07-09 16:13:31 +02:00
parent 3bd381692b
commit 6657cc1c91
2 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<small>@{{ profile.user.username}}</small>
</h1>
{% if profile.user != current_user %}
<a href="{{ url_for('follow_user', username=profile.user.username) }}">{% trans %}Follow{% endtrans %}
<a href="{{ url_for('follow_user', username=profile.user.username) }}">{% trans %}Follow{% endtrans %}</a>
{% endif %}
<h2>