DiverseYouthNightSchool/application/admin/view/xilufitness/coach/cash/edit.html

42 lines
2.0 KiB
HTML
Raw Normal View History

2024-11-04 10:49:10 +08:00
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<input type="hidden" name="row[brand_id]" value="{$row.brand_id|htmlentities}"/>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Coach_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-coach_id" disabled data-rule="required" data-source="xilufitness/coach/index" data-field="coach_name" class="form-control selectpage" name="row[coach_id]" type="text" value="{$row.coach_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" disabled 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">{:__('Cash_price')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-cash_price" disabled min="0" class="form-control" step="0.01" name="row[cash_price]" type="number" value="{$row.cash_price|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Is_type')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[is_type]",$isType,$row.is_type,['disabled' => 'disabled'])}
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Cash_type')}:</label>
<div class="col-xs-12 col-sm-8">
{:Form::radios("row[cash_type]",$cashType,$row.cash_type,['disabled' => 'disabled'])}
</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>