mj2 add leave clan
This commit is contained in:
@@ -319,6 +319,19 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% if clan.owner_id != current_user.id %}
|
||||
<!-- ===================== Leave Clan Section ===================== -->
|
||||
<div class="card" style="border-color: rgba(248,81,73,0.3);">
|
||||
<div class="card-title" style="color: #f85149; border-bottom-color: rgba(248,81,73,0.3);">🚪 Αποχώρηση από Clan</div>
|
||||
<p style="color:#8b949e; font-size:0.875rem; margin-bottom:18px;">
|
||||
Εάν αποχωρήσετε, δεν θα έχετε πλέον πρόσβαση στους παίκτες αυτής της ομάδας.
|
||||
</p>
|
||||
<form method="POST" action="/auth/clan/leave" onsubmit="return confirm('Είστε βέβαιοι ότι θέλετε να αποχωρήσετε από το Clan;');">
|
||||
<button type="submit" class="btn-danger">Αποχώρηση</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% else %}
|
||||
<!-- ===================== Create Clan Section ===================== -->
|
||||
<div class="card">
|
||||
|
||||
Reference in New Issue
Block a user