linkage.html 817 B

12345678910111213
  1. <div class="form-group col-lg-12 col-md-12 col-sm-12 col-xs-12 id="form_group_{$form.name}">
  2. <label class="col-xs-12" for="{$form.name}">{$form.title}</label>
  3. <div class="col-sm-12">
  4. <select class="js-select2 form-control select-linkage" name="{$form.name}" id="{$form.name}" data-allow-clear="true" data-placeholder="请选择一项" data-url="{$form.ajax_url|default=''}" data-param="{$form.param|default=$form.name}" data-next-items="{$form.next_items}" {$form.attr|default=''}>
  5. {volist name="form.extra" id="extra"}
  6. <option value="{$key}" {if ($form.value == (string)$key)}selected{/if}>{$extra}</option>
  7. {/volist}
  8. </select>
  9. {notempty name="form.tips"}
  10. <div class="help-block">{$form.tips}</div>
  11. {/notempty}
  12. </div>
  13. </div>