samebatch.html.php 704 B

1234567891011121314151617181920212223
  1. <table class='table table-form'>
  2. <?php foreach($fields as $field):?>
  3. <?php if(!$field->show) continue;?>
  4. <?php $width = ($field->width && $field->width != 'auto' ? $field->width . 'px' : 'auto');?>
  5. <tr>
  6. <th class='w-100px'><?php echo $field->name;?></th>
  7. <td>
  8. <div style='width: <?php echo $width;?>'>
  9. <?php echo $this->flow->buildControl($field, '', "data[$field->field]");?>
  10. </div>
  11. </td>
  12. <td></td>
  13. </tr>
  14. <?php endforeach;?>
  15. <tr>
  16. <th></th>
  17. <td class='form-actions'>
  18. <?php echo html::submitButton();?>
  19. <?php echo html::backButton();?>
  20. <?php echo html::hidden('dataIDList', implode(',', $dataList));?>
  21. </td>
  22. </tr>
  23. </table>