Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. <div class="form-group"
  2. ng-class="{ 'has-error':complaintAddForm.time.$touched && complaintAddForm.time.$invalid }">
  3. <label for="time" class="col-sm-4 control-label">Thời gian</label>
  4. <div class="col-sm-6" style="height: 25px;width: 45%;">
  5. <p class="input-group">
  6. <span class="input-group-btn">
  7. <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">
  8. <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>
  9. </span>
  10. </p>
  11.  
  12. <!-- <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"
  13. data-model-date-format="dd/MM/yyyy HH:mm:ss" data-date-format="dd/MM/yyyy HH:mm:ss"
  14. date-type="string" required/>
  15. <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> -->
  16.  
  17. <div class="help-block" ng-messages="complaintAddForm.time.$error"
  18. ng-if="complaintAddForm.time.$touched">
  19. <p ng-message="required">Vui lòng chọn thời gian!</p>
  20. </div>
  21.  
  22. </div>
  23.  
  24. <div class="col-md-2" style="margin-left: 5%;">
  25. <span class="red">(*)</span>
  26. </div>
  27. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement