You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.3 KiB

  1. <div class="form-group label-floating">
  2. <input ng-model="travel.title" abmFormControl class="form-control" placeholder="Title" type="text">
  3. </div>
  4. <div class="row">
  5. <div class="form-group label-floating col-md-6">
  6. <input ng-model="travel.from.name" abmFormControl class="form-control" placeholder="From" type="text">
  7. </div>
  8. <div class="form-group label-floating col-md-6">
  9. <input ng-model="travel.to.name" abmFormControl class="form-control" placeholder="To" type="text">
  10. </div>
  11. </div>
  12. <div class="row">
  13. <div class="form-group label-floating col-md-7">
  14. <input ng-model="travel.date" abmFormControl class="form-control" placeholder="Date" type="date">
  15. </div>
  16. <div class="form-group label-floatin col-md-5">
  17. <input class="form-control" type="time" name="usr_time" ng-model="travel.hour">
  18. </div>
  19. </div>
  20. <div class="row">
  21. <div class="form-group col-md-4">
  22. <input class="form-control" type="number" name="seats" min="1" max="20" ng-model="travel.seats" placeholder="nºSeats">
  23. </div>
  24. <div class="col-md-8">
  25. <div class="form-group label-floating">
  26. <!--<input ng-model="travel.package" abmFormControl class="form-control" placeholder="Can carry package" type="text">-->
  27. <label class="form-check-label">
  28. <input class="form-check-input" type="checkbox" ng-model="travel.package"> Can carry package
  29. </label>
  30. </div>
  31. <div class="form-group label-floating">
  32. <!--<input ng-model="travel.collectivized" abmFormControl class="form-control" placeholder="Collectivized" type="text">-->
  33. <label class="form-check-label">
  34. <input class="form-check-input" type="checkbox" ng-model="travel.collectivized"> Collectivized
  35. </label>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="form-group label-floating">
  40. <input ng-model="travel.description" abmFormControl class="form-control" placeholder="Description" type="text">
  41. </div>
  42. <p class="padding" ng-show="allParametersCompleted()">
  43. <button ng-click="closeNewOfferingTravel()" class="btn btn-raised c_grey500">
  44. Cancel
  45. </button>
  46. <button ng-click="doNewTravel()" class="btn btn-raised c_deepPurple300 pull-right">
  47. Create travel
  48. </button>
  49. </p>
  50. </form>