48 lines
2.6 KiB
HTML
48 lines
2.6 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">{:__('User_id')}<span style="color: red;">*</span>:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-user_id" readonly data-rule="required" placeholder="请选择" min="0" data-source="xilufitness/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-title" readonly placeholder="请输入" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Before_account')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-before_account" readonly min="0" class="form-control" step="0.01" name="row[before_account]" type="number" value="{$row.before_account|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('After_account')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-after_account" readonly min="0" class="form-control" step="0.01" name="row[after_account]" type="number" value="{$row.after_account|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-amount" readonly min="0" class="form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Amount_type')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
{:Form::radios("row[amount_type]",[1 => __('Add_type'), 2 => __('Dec_type')],$row.amount_type,['disabled' => 'true'])}
|
|
</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>
|