LearningSalesForceCommerceC.../the_learning_cartridge/cartridge/templates/default/notificationsform.isml

57 lines
2.4 KiB
Plaintext
Raw Normal View History

<div class="container mt-3 mb-3">
<h4 class="text-primary">${ Resource.msg('title.notifications','forms', null) }</h4>
<form action="${ URLUtils.url('Notifications-HandleForm') }" method="POST">
<div class="form-group">
<iscomment> checkbox </iscomment>
<div class="form-row">
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="notificationSales"
<isprint value="${pdict.notificationsForm.notificationSales.attributes}" encoding="off" />
/>
<label class="form-check-label" for="notificationSales">
${pdict.notificationsForm.notificationSales.label}
</label>
</div>
</div>
<iscomment> checkbox </iscomment>
<div class="form-row">
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="notificationNew"
<isprint value="${pdict.notificationsForm.notificationNew.attributes}" encoding="off" />
/>
<label class="form-check-label" for="notificationNew">
${pdict.notificationsForm.notificationNew.label}
</label>
</div>
</div>
<iscomment> checkbox </iscomment>
<div class="form-row">
<div class="form-check form-check-inline">
<input type="checkbox" class="form-check-input" id="notificationStock"
<isprint value="${pdict.notificationsForm.notificationStock.attributes}" encoding="off" />
/>
<label class="form-check-label" for="notificationStock">
${pdict.notificationsForm.notificationStock.label}
</label>
</div>
</div>
</div>
<iscomment> submit button </iscomment>
<div class="form-row">
<button type="submit" class="btn btn-primary">
${Resource.msg('button.submit.promo.code','cart', null)}
</button>
</div>
<iscomment> CSRF protection </iscomment>
<input type="hidden" name="${pdict.csrf.tokenName}" value="${pdict.csrf.token}" />
</form>
</div>