123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <form id="edit-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">{:__('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="{$row.user_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_to_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_to_id" data-rule="required" data-source="user/to/index" class="form-control selectpage" name="row[user_to_id]" type="text" value="{$row.user_to_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Party_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-party_id" data-rule="required" data-source="party/index" class="form-control selectpage" name="row[party_id]" type="text" value="{$row.party_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gift_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-gift_id" data-rule="required" data-source="gift/index" class="form-control selectpage" name="row[gift_id]" type="text" value="{$row.gift_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gift_give_type')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-gift_give_type" data-rule="required" class="form-control" name="row[gift_give_type]" type="text" value="{$row.gift_give_type|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gift_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-gift_name" data-rule="required" class="form-control" name="row[gift_name]" type="text" value="{$row.gift_name|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gift_gif_image')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-gift_gif_image" data-rule="required" class="form-control" size="50" name="row[gift_gif_image]" type="text" value="{$row.gift_gif_image|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-gift_gif_image" class="btn btn-danger faupload" data-input-id="c-gift_gif_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-gift_gif_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-gift_gif_image" class="btn btn-primary fachoose" data-input-id="c-gift_gif_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-gift_gif_image"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-gift_gif_image"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="number" value="{$row.number|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-price" class="form-control" name="row[price]" type="number" value="{$row.price|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Value')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-value" data-rule="required" class="form-control" name="row[value]" type="number" value="{$row.value|htmlentities}">
- </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>
|