Skip to content

Commit

Permalink
add template to provide shared common style for django messages showi…
Browse files Browse the repository at this point in the history
…ng django allauth activities #1363
  • Loading branch information
jh-RLI committed Jan 22, 2025
1 parent 4ee1a90 commit 9b207d4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions login/templates/account/messages/messages.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{% if messages %}
{% for message in messages %}
<div class="alert alert-dismissible alert-success">
<h4>
Success!!!!
</h4>
<button type="button" class="btn-close" data-bs-dismiss="alert">

</button>
<p class="mb-0">
{{message}}
</p>
</div>
{% endfor %}
{% endif %}

0 comments on commit 9b207d4

Please sign in to comment.