integration error message for coupon code
This commit is contained in:
@@ -140,13 +140,15 @@
|
|||||||
<th class="coupon"><label for="coupon">{intl l="You may have a coupon ?"}</label></th>
|
<th class="coupon"><label for="coupon">{intl l="You may have a coupon ?"}</label></th>
|
||||||
<td class="coupon">
|
<td class="coupon">
|
||||||
{form_field form=$form field='coupon-code'}
|
{form_field form=$form field='coupon-code'}
|
||||||
<div class="input-group {if $error}has-error{/if}">
|
<div class="{if $error}has-error{/if}">
|
||||||
<label class="control-label sr-only" for="code">{intl l='Code :'}</label>
|
<div class="input-group">
|
||||||
<input id="coupon" class="form-control" type="text" name="{$name}" value="{$value}" placeholder="{intl l='Coupon code'}">
|
<label class="control-label sr-only" for="code">{intl l='Code :'}</label>
|
||||||
<span class="input-group-btn">
|
<input id="coupon" class="form-control" type="text" name="{$name}" value="{$value}" placeholder="{intl l='Coupon code'}">
|
||||||
<button type="submit" class="btn btn-coupon">{intl l="Ok"}</button>
|
<span class="input-group-btn">
|
||||||
</span>
|
<button type="submit" class="btn btn-coupon">{intl l="Ok"}</button>
|
||||||
{if $error}{$message}{/if}
|
</span>
|
||||||
|
</div>
|
||||||
|
{if $error}<span class="help-block"><i class="icon-remove"></i> {$message}</span>{/if}
|
||||||
</div>
|
</div>
|
||||||
{/form_field}
|
{/form_field}
|
||||||
<!-- /input-group -->
|
<!-- /input-group -->
|
||||||
|
|||||||
Reference in New Issue
Block a user