2018-05-01 00:40:41 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2018-07-18 19:40:42 +02:00
|
|
|
{% block title %} Brutaldon ({{ own_acct.username }}) - confirm favorite {% endblock %}
|
2018-05-01 00:40:41 +02:00
|
|
|
|
|
|
|
{% block content %}
|
2018-05-23 20:20:15 +02:00
|
|
|
{% if toot.favourited %}
|
|
|
|
<h1 class="title">Unfav that toot?</h1>
|
|
|
|
{% else %}
|
|
|
|
<h1 class="title" >Fav that toot?</h1>
|
|
|
|
{% endif %}
|
2018-05-01 00:40:41 +02:00
|
|
|
|
2018-05-23 20:20:15 +02:00
|
|
|
{% include "main/toot_partial.html" with toot=toot %}
|
|
|
|
<form method="POST" action="{% url "fav" toot.id %}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<div class="level is-mobile">
|
|
|
|
<div class="level-left">
|
|
|
|
<div class="level-item">
|
|
|
|
<input class="button" type="submit" name="cancel" value="Cancel">
|
2018-05-01 00:40:41 +02:00
|
|
|
</div>
|
2018-05-23 20:20:15 +02:00
|
|
|
</div>
|
|
|
|
<div class="level-right">
|
|
|
|
<div class="level-item">
|
|
|
|
{% if toot.favorited %}
|
|
|
|
<input class="button is-primary" type="submit" name="fav"
|
|
|
|
value="Unfavorite">
|
|
|
|
{% else %}
|
|
|
|
<input class="button is-primary" type="submit" name="fav"
|
|
|
|
value="Favorite">
|
|
|
|
{% endif %}
|
2018-05-01 00:40:41 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-05-23 20:20:15 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
2018-05-01 00:40:41 +02:00
|
|
|
{% endblock %}
|