tidy templates

This commit is contained in:
Hugh Rundle
2021-12-06 16:26:16 +11:00
parent 027520d923
commit 5bbd6faa8b
2 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@
{{ user.display_name }}
{% if user.manually_approves_followers %}
<span class="icon icon-lock is-size-7" title="{% trans 'Locked account' %}">
<span class="is-sr-only">{% trans "Locked account" %}</span>
<span class="is-sr-only">{% trans 'Locked account' %}</span>
</span>
{% endif %}
</span>
@@ -47,7 +47,7 @@
</a>
<form name="follow" method="post" action="{% url 'follow' %}/?next={% url 'ostatus-success' %}?following={{ user.username }}">
{% csrf_token %}
<input name="user" value={{ user.username }} hidden>
<input name="user" value="{{ user.username }}" hidden>
<button class="button is-link" type="submit">{% blocktrans with username=user.display_name %}Follow {{ username }}{% endblocktrans %}</button>
</form>
</div>