edit.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <!--<div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <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}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-nickname" class="form-control" name="row[nickname]" type="text" value="{$row.nickname|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-idcard" data-rule="required" class="form-control" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">
  18. </div>
  19. </div>-->
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Certify_id')}:</label>
  22. <!--<div class="col-xs-12 col-sm-8">
  23. <input id="c-certify_id" data-rule="required" data-source="certify/index" class="form-control selectpage" name="row[certify_id]" type="text" value="{$row.certify_id|htmlentities}">
  24. </div>-->
  25. <div class="col-xs-12 col-sm-8">
  26. <input class="form-control" data-rule="required" id="c-certify_id" name="row[certify_id]" type="text" value="{$row.certify_id|htmlentities}">
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
  31. <div class="col-xs-12 col-sm-8">
  32. <input id="c-out_trade_no" data-rule="required" class="form-control" name="row[out_trade_no]" type="text" value="{$row.out_trade_no|htmlentities}">
  33. </div>
  34. </div>
  35. <div class="form-group">
  36. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  37. <div class="col-xs-12 col-sm-8">
  38. <div class="radio">
  39. {foreach name="statusList" item="vo"}
  40. {if $key != 0}
  41. <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>
  42. {/if}
  43. {/foreach}
  44. </div>
  45. </div>
  46. </div>
  47. <div class="form-group layer-footer">
  48. <label class="control-label col-xs-12 col-sm-2"></label>
  49. <div class="col-xs-12 col-sm-8">
  50. {if $row['status'] != 1}
  51. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  52. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  53. {/if}
  54. </div>
  55. </div>
  56. </form>