edit.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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">{:__('Company_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-company_id" data-rule="required" data-source="company/index" disabled data-field="companyname" class="form-control selectpage" name="row[company_id]" type="text" value="{$row.company_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Brand')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-brand" class="form-control" name="row[brand]" type="text" value="{$row.brand|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Logo_image')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <div class="input-group">
  18. <input id="c-logo_image" class="form-control" size="50" name="row[logo_image]" type="text" value="{$row.logo_image|htmlentities}">
  19. <div class="input-group-addon no-border no-padding">
  20. <span><button type="button" id="faupload-logo_image" class="btn btn-danger faupload" data-input-id="c-logo_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-logo_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  21. <span><button type="button" id="fachoose-logo_image" class="btn btn-primary fachoose" data-input-id="c-logo_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  22. </div>
  23. <span class="msg-box n-right" for="c-logo_image"></span>
  24. </div>
  25. <ul class="row list-inline faupload-preview" id="p-logo_image"></ul>
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="control-label col-xs-12 col-sm-2">{:__('Typename')}:</label>
  30. <div class="col-xs-12 col-sm-8">
  31. <input id="c-typename" class="form-control" name="row[typename]" type="text" value="{$row.typename|htmlentities}">
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-password" class="form-control" name="row[password]" type="text" value="{$row.password|htmlentities}">
  44. </div>
  45. </div>
  46. <div class="form-group layer-footer">
  47. <label class="control-label col-xs-12 col-sm-2"></label>
  48. <div class="col-xs-12 col-sm-8">
  49. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  50. </div>
  51. </div>
  52. </form>