github.com/keysonZZZ/kmg@v0.0.0-20151121023212-05317bfd7d39/kmgView/kmgBootstrap/tplInput.gotplhtml (about) 1 <? package kmgBootstrap 2 func tplInput(config Input) string { 3 ?> 4 <input type="<?=config.Type?>" autocomplete="off" class="form-control" 5 <? if config.ReadOnly { ?> readonly <? } ?> 6 name="<?=config.Name?>" 7 value="<?=config.Value?>"/> 8 <? } ?>