1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- {eq name="admin.cid" value="0"}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cid" data-rule="required" data-source="Company" data-field="company_name" class="form-control selectpage" name="row[cid]" type="text" value="{$row.cid}">
- </div>
- </div>
- {else/}
- <input id="c-cid" name="row[cid]" type="hidden" value="{$admin.cid}">
- {/eq}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_id" data-rule="required" data-source="project/project_donation" data-field="title" class="form-control selectpage" name="row[project_id]" type="text" value="{$row.project_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_id" data-rule="required" data-source="project/project_donation_order" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-uid" class="form-control selectpage" data-source="user/user" name="row[uid]" type="text" value="{$row.uid|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_user_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_user_id" data-rule="required" data-source="project/project_donation_user/index" class="form-control selectpage" name="row[project_user_id]" type="text" value="{$row.project_user_id|htmlentities}">
- </div>
- </div>
- <!--<div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Project_donation_id')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-project_donation_id" data-rule="required" data-source="project/donation/index" class="form-control selectpage" name="row[project_donation_id]" type="text" value="{$row.project_donation_id|htmlentities}">-->
- <!-- </div>-->
- <!--</div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_donation_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_donation_id" data-rule="required" data-source="Category" data-params='{"custom[id]":"{$row.project_donation_id}","type":"project"}' data-field="name" class="form-control selectpage" name="row[project_donation_id]" type="text" value="{$row.project_donation_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_donation_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_donation_num" class="form-control" name="row[project_donation_num]" type="number" value="{$row.project_donation_num|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-add_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:$row.add_time?datetime($row.add_time):''}">
- </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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|