Add the reseller field in the customer form

This commit is contained in:
root
2014-08-05 11:40:49 +02:00
parent b72a7a5c08
commit f5318df219
3 changed files with 18 additions and 0 deletions

11
templates/backOffice/default/customer-edit.html Normal file → Executable file
View File

@@ -95,6 +95,17 @@
</div>
{/form_field}
{form_field form=$form field='reseller'}
<div class="form-group {if $error}has-error{/if}">
<div class="checkbox">
<label>
<input type="checkbox" id="{$label_attr.for}" name="{$name}" value="1" {if $value != 0}checked="checked"{/if}>
{$label}
</label>
</div>
</div>
{/form_field}
{form_field form=$form field='password'}
<div class="form-group {if $error}has-error{/if}">
<label for="{$label_attr.for}" class="control-label">{$label} (leave blank to keep current customer password) {if $required} <span class="required">*</span>{/if} : </label>