You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
6.0 KiB
135 lines
6.0 KiB
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50"></textarea>
|
|
</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" class="form-control" name="row[title]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Tag')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-tag" class="form-control" name="row[tag]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Video')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-video" class="form-control" name="row[video]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_realname')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_realname" class="form-control" name="row[main_realname]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_phone')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_phone" class="form-control" name="row[main_phone]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_cardno')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_cardno" class="form-control" name="row[main_cardno]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_qq')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_qq" class="form-control" name="row[main_qq]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_wechat')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_wechat" class="form-control" name="row[main_wechat]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_address')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_address" class="form-control" name="row[main_address]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_jiguan')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_jiguan" class="form-control" name="row[main_jiguan]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_company')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-main_company" class="form-control" name="row[main_company]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Main_otherinfo')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<textarea id="c-main_otherinfo" class="form-control " rows="5" name="row[main_otherinfo]" cols="50"></textarea>
|
|
</div>
|
|
</div>
|
|
<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" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
|
|
</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="11"}checked{/in} /> {$vo}</label>
|
|
{/foreach}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-money" class="form-control" name="row[money]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-reason" class="form-control" name="row[reason]" type="text">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Readnum')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-readnum" class="form-control" name="row[readnum]" type="number">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Likenum')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-likenum" class="form-control" name="row[likenum]" type="number">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Scnum')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-scnum" class="form-control" name="row[scnum]" type="number">
|
|
</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>
|
|
|