50 lines
2.4 KiB
Smarty
50 lines
2.4 KiB
Smarty
<div class="form-group replacement">
|
|
<div class="row">
|
|
<div class="col-xs-6">
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-3" for="{$nameKey}[find]">
|
|
{l s='Find' mod='pshowimporter'}:
|
|
</label>
|
|
<div class="col-xs-9">
|
|
<input type="text" name="{$nameKey}[find]" id="{$nameKey}[find]"
|
|
class="form-control find" value="{$r['find']|escape:'htmlall':'UTF-8'}" placeholder="Enter value to replace">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-3" for="{$nameKey}[replace]">
|
|
{l s='Replace' mod='pshowimporter'}:
|
|
</label>
|
|
<div class="col-xs-9">
|
|
<input type="text" name="{$nameKey}[replace]" id="{$nameKey}[replace]"
|
|
class="form-control replace" value="{$r['replace']|escape:'htmlall':'UTF-8'}" placeholder="Enter new value">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-6">
|
|
<div class="form-group">
|
|
<label class="control-label col-lg-6">
|
|
{l s='Regular expressions' mod='pshowimporter'}
|
|
<span class="label-tooltip" onclick="fancyMsgBox('{include file='./../parts/regex_exp_info.tpl'}');">?</span>
|
|
</label>
|
|
<div class="col-lg-6">
|
|
<span class="switch prestashop-switch fixed-width-md">
|
|
<input type="radio" name="{$nameKey}[regex]" id="{$nameKey}[regex]_on" value="1"
|
|
{if $r['regex']}checked="checked"{/if}>
|
|
<label for="{$nameKey}[regex]_on">Yes</label>
|
|
<input type="radio" name="{$nameKey}[regex]" id="{$nameKey}[regex]_off" value="0"
|
|
{if !$r['regex']}checked="checked"{/if}>
|
|
<label for="{$nameKey}[regex]_off">No</label>
|
|
<a class="slide-button btn"></a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<button class="removeReplacement btn btn-danger btn-sm pull-right">
|
|
<i class="icon-trash"></i> {l s='Remove' mod='pshowimporter'}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
</div>
|