1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <input type="hidden" name="id" value="{$row.id}">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Driver_images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <ul class="row list-inline faupload-preview" data-listidx="0">
- <?php
- $driver_images = explode(',',$row['driver_images']);
- foreach($driver_images as $key => $val){
- ?>
- <li class="col-xs-3">
- <a href="{$val}" data-url="{$val}" target="_blank" class="thumbnail">
- <img src="{$val}" onerror="this.src='/admin.php/ajax/icon?suffix=jpg';this.onerror=null;" class="img-responsive"></a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="status" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-audittime" class="form-control datetimepicker" disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|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>
|