code cleanup
This commit is contained in:
@ -46,9 +46,9 @@
|
||||
<span class="subtitle is-7 is-block">@{{ user|username }}</span>
|
||||
</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>
|
||||
<button class="button is-link" type="submit">{% trans "Follow " %} {{ user.name }}</button>
|
||||
{% csrf_token %}
|
||||
<input name="user" value={{ user.username }} hidden>
|
||||
<button class="button is-link" type="submit">{% trans "Follow " %} {{ user.name }}</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -92,7 +92,6 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- TODO: do we need any of this stuff? -->
|
||||
<script>
|
||||
var csrf_token = '{{ csrf_token }}';
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user