46 lines
2.4 KiB
HTML
46 lines
2.4 KiB
HTML
|
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
||
|
<input type="hidden" name="row[brand_id]" id="c-brand_id" value="{$row.brand_id|htmlentities}"/>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Recharge_amount')}<span style="color: red;">*</span>:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-recharge_amount" min="0" placeholder="请输入" data-rule="required" class="form-control" name="row[recharge_amount]" type="number" value="{$row.recharge_amount|htmlentities}">
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Account_amount')}<span style="color: red;">*</span>:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<input id="c-account_amount" min="0" placeholder="请输入" data-rule="required" class="form-control" name="row[account_amount]" type="number" value="{$row.account_amount|htmlentities}">
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Cut_amount')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<div class="input-group">
|
||
|
<input id="c-cut_amount" min="0" placeholder="请输入" class="form-control" step="0.01" name="row[cut_amount]" type="number" value="{$row.cut_amount|htmlentities}">
|
||
|
<span class="input-group-addon">/{:__('Year')}</span>
|
||
|
</div>
|
||
|
<span class="help-block" style="color: red;">{:__('Annual cost savings')}</span>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
|
||
|
<div class="radio">
|
||
|
{foreach name="statusList" item="vo"}
|
||
|
<label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
|
||
|
{/foreach}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group layer-footer">
|
||
|
<label class="control-label col-xs-12 col-sm-2"></label>
|
||
|
<div class="col-xs-12 col-sm-8">
|
||
|
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|