HTML fragments in templates instead of hardcoded
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<div class="form-group input-{$fieldName}">
|
||||
<label for="{$fieldName}" class="control-label">{$label}</label>
|
||||
<div class="input-group">
|
||||
<input id="{$fieldName}" type="money" class="form-control" name="thelia_coupon_creation[{$fieldName}]" value="{$value}" placeholder="14.50">
|
||||
{loop type="currency" name="get-symbol" default_only="true"}
|
||||
<div class="input-group-addon">{$SYMBOL}</div>
|
||||
{/loop}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<input type="hidden" name="thelia_coupon_creation[{$typeKey}]" value="0"/>
|
||||
<div class="form-group input-{$fieldId}">
|
||||
<label for="{$fieldId}" class="control-label">{$label}</label>
|
||||
<div class="input-group">
|
||||
<input id="{$fieldId}" class="form-control" name="[$fieldName][{$fieldId}]" type="text" value="{$value}"/>
|
||||
<div class="input-group-addon">%</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user