brutaldon-interfaccia-web-m.../brutaldon/templates/main/boost.html

35 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2018-07-18 19:40:42 +02:00
{% block title %} Brutaldon ({{ own_acct.username }}) - confirm boost {% endblock %}
{% block content %}
2018-05-23 20:20:15 +02:00
{% if toot.reblogged %}
<h1 class="title">Unboost that toot?</h1>
{% else %}
<h1 class="title" >Boost that toot?</h1>
{% endif %}
2018-05-23 20:20:15 +02:00
{% include "main/toot_partial.html" with toot=toot %}
<form method="POST" action="{% url "boost" 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">
</div>
2018-05-23 20:20:15 +02:00
</div>
<div class="level-right">
<div class="level-item">
{% if toot.reblogged %}
<input class="button is-primary" type="submit" name="boost"
value="Unboost">
{% else %}
<input class="button is-primary" type="submit" name="boost"
value="Boost">
{% endif %}
</div>
</div>
2018-05-23 20:20:15 +02:00
</div>
</form>
{% endblock %}