Changed payment error message style
This commit is contained in:
parent
29fb771afb
commit
8769c4cd1f
2 changed files with 7 additions and 3 deletions
|
@ -537,6 +537,10 @@ a.unlink:hover {
|
|||
border-radius: 3px;
|
||||
padding: 5px;
|
||||
}
|
||||
.card-warning-error {
|
||||
border: 1px solid #EB4D5C;
|
||||
color: #EB4D5C;
|
||||
}
|
||||
|
||||
.stripe-payment-btn {
|
||||
outline: none;
|
||||
|
|
|
@ -138,11 +138,11 @@
|
|||
{% endblocktrans %}
|
||||
</p>
|
||||
{% endif %}
|
||||
<div class="help-block with-errors">
|
||||
<div>
|
||||
{% for message in messages %}
|
||||
{% if 'failed_payment' in message.tags %}
|
||||
<ul class="list-unstyled"><li>
|
||||
<p class="alert alert-danger">{{ message|safe }}</p>
|
||||
<p class="card-warning-content card-warning-error">{{ message|safe }}</p>
|
||||
</li></ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue