fix: when publishing a post show message

This commit is contained in:
saparatayev 2021-08-24 17:00:32 +05:00
parent 053e3baa1e
commit d3995763e5
3 changed files with 13 additions and 11 deletions

View File

@ -8,18 +8,20 @@
data-request="onPublish"
data-request-validate
>
<!-- сообщение пополните баланс -->
<div class="alert alert-danger" data-validate-error>
<p data-message style="color: red;"></p> <br>
</div>
<input type="hidden" name="product_id" value="{{product.id}}">
<div class="thanks_title">
<div class="thanks_text">
{{'account.fee_for_publishing'|_({ fee: fee })}}
</div>
<!-- сообщение пополните баланс -->
<div class="alert alert-danger t-c" data-validate-error>
<p data-message style="color: red;"></p> <br>
</div>
<div class="btn_bg">
<button class="post_btn" type="submit">
{{'account.publish'|_}}

View File

@ -22,12 +22,6 @@ navigation:
icon: icon-cube
permissions:
- product
offers:
label: Offers
url: tps/birzha/offers
icon: icon-cubes
permissions:
- offer
measure:
label: Measure
url: tps/birzha/measures

View File

@ -3244,6 +3244,7 @@ li {
font-weight: 400;
line-height: 1.3;
text-align: center;
width: 100%;
}
/* Message end ======================================= */
@ -4995,6 +4996,11 @@ li {
font-size: 12px;
}
.t-c {
width: 100%;
text-align: center;
}
.contact_input {
margin: 10px 0;
}