refactor: identation

This commit is contained in:
moanos [he/him] 2024-10-05 11:05:50 +02:00
parent 864c76bc21
commit 96c0c1218f

View File

@ -6,19 +6,19 @@
<div class="detail-adoption-notice-header"> <div class="detail-adoption-notice-header">
<h1 class="detail-adoption-notice-header">{{ adoption_notice.name }} <h1 class="detail-adoption-notice-header">{{ adoption_notice.name }}
{% if not is_subscribed %} {% if not is_subscribed %}
<form class="notification-card-mark-read" method="post"> <form class="notification-card-mark-read" method="post">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="action" value="subscribe"> <input type="hidden" name="action" value="subscribe">
<input type="hidden" name="adoption_notice_id" value="{{ adoption_notice.pk }}"> <input type="hidden" name="adoption_notice_id" value="{{ adoption_notice.pk }}">
<button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell"></i></button> <button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell"></i></button>
</form> </form>
{% else %} {% else %}
<form class="notification-card-mark-read" method="post"> <form class="notification-card-mark-read" method="post">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="action" value="unsubscribe"> <input type="hidden" name="action" value="unsubscribe">
<input type="hidden" name="adoption_notice_id" value="{{ adoption_notice.pk }}"> <input type="hidden" name="adoption_notice_id" value="{{ adoption_notice.pk }}">
<button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell-slash"></i></button> <button class="btn2" type="submit" id="submit"><i class="fa-solid fa-bell-slash"></i></button>
</form> </form>
{% endif %} {% endif %}
</h1> </h1>
{% if has_edit_permission %} {% if has_edit_permission %}