123456789101112131415161718192021222324252627282930313233343536373839 |
- <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">{:__('产品ID')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-produce_id" min="0" data-source="produce/index" class="form-control selectpage" name="row[produce_id]" type="text" value="" data-field="local_code">
- </div>
- </div> -->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('产品')}:</label>
- <div class="form-inline col-xs-12 col-sm-8" data-toggle="cxselect" data-selects="produce_type,produce_id">
- <select class="produce_type form-control" name="row[produce_type]" data-url="produce/produce_type"></select>
- <select class="produce_id form-control" name="row[produce_id]" data-url="produce/select_index" data-query-name="produce_type"></select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
- <div class="col-xs-12 col-sm-8">
- <textarea id="c-remark" class="form-control" name="row[remark]" type="text"></textarea>
- </div>
- </div>
-
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('旗子')}:</label>
- <div class="col-xs-12 col-sm-8">
- {foreach name="flags" item="vo"}
- <label for="row[flag]-{$key}"><input id="row[flag]-{$key}" name="row[flag]" type="radio" value="{$key}" /> {$vo}</label>
- {/foreach}
- </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>
|