fixed invite input field timeout, which would obey the refresh triggered by the modal every 3s
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -74,7 +74,7 @@
|
|||||||
{% if request.user == room.owner %}
|
{% if request.user == room.owner %}
|
||||||
<form method="POST" action="{% url 'epic:invite_gamer' room.id %}">
|
<form method="POST" action="{% url 'epic:invite_gamer' room.id %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<input type="email" name="invitee_email" id="id_invite_email" class="form-control form-control-lg" placeholder="friend@example.com">
|
<input type="email" name="invitee_email" id="id_invite_email" class="form-control form-control-lg" placeholder="friend@example.com" hx-preserve>
|
||||||
<button type="submit" id="id_invite_btn" class="btn btn-primary btn-xl">Invite</button>
|
<button type="submit" id="id_invite_btn" class="btn btn-primary btn-xl">Invite</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user