67 lines
3.4 KiB
HTML
67 lines
3.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]" value="{$row.brand_id|htmlentities}"/>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-user_id" min="0" readonly 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">{:__('Shop_id')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-shop_id" min="0" readonly data-source="xilufitness/shop/index" data-field="shop_name" class="form-control selectpage" name="row[shop_id]" type="text" value="{$row.shop_id|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<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" readonly 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">{:__('Profession_star')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-profession_star" min="0" class="form-control" name="row[profession_star]" type="number" value="{$row.profession_star|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Affinity_star')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-affinity_star" min="0" class="form-control" name="row[affinity_star]" type="number" value="{$row.affinity_star|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Impression_star')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-impression_star" min="0" class="form-control" name="row[impression_star]" type="number" value="{$row.impression_star|htmlentities}">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-content" class="form-control" name="row[content]" type="text" value="{$row.content|htmlentities}">
|
|
</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>
|