add class="form-control" for bs3 support