You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<div data-field-type="{$field.type}">
|
|
|
{foreach item=unit from=$data.units|array_reverse}
|
|
|
{if $field.options_map.$unit}
|
|
|
<div class="input-group mb-1">
|
|
|
<input type="number" class="numeric form-control duration-field" name="{$field.ins_id|escape}[{$unit}]" value="{$data.amounts.$unit|escape}" id="{$field.ins_id}_{$unit}">
|
|
|
<span class="input-group-text">{$unit}</span>
|
|
|
</div>
|
|
|
{/if}
|
|
|
{/foreach}
|
|
|
</div>
|