Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="form-group"
- ng-class="{ 'has-error':complaintAddForm.time.$touched && complaintAddForm.time.$invalid }">
- <label for="time" class="col-sm-4 control-label">Thời gian</label>
- <div class="col-sm-6" style="height: 25px;width: 45%;">
- <p class="input-group">
- <span class="input-group-btn">
- <input type="text" ng-model="complaint.ThoiGian" class="form-control" placeholder="dd/MM/yyyy hh:mm:ss" data-date-format="dd/MM/yyyy hh:mm:ss" placement="bottom-left" bs-datepicker trigger="manual">
- <button type="button" class="btn btn-default" ng-model="complaint.ThoiGian" bs-datepicker data-date-format="dd/MM/yyyy hh:mm:ss" autoclose="true"><i class="fa fa-calendar"></i></button>
- </span>
- </p>
- <!-- <input type="text" id="time" name="time" class="form-control" placeholder="dd/MM/yyyy hh:mm:ss" ng-model="complaint.ThoiGian" bs-datepicker trigger="manual"
- data-model-date-format="dd/MM/yyyy HH:mm:ss" data-date-format="dd/MM/yyyy HH:mm:ss"
- date-type="string" required/>
- <button type="button" data-toggle="datepicker" data-date-format="dd/MM/yyyy HH:mm:ss" ng-model="complaint.ThoiGian" bs-datepicker autoclose="true"><i class="fa fa-calendar"></i></button> -->
- <div class="help-block" ng-messages="complaintAddForm.time.$error"
- ng-if="complaintAddForm.time.$touched">
- <p ng-message="required">Vui lòng chọn thời gian!</p>
- </div>
- </div>
- <div class="col-md-2" style="margin-left: 5%;">
- <span class="red">(*)</span>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement