@@ -17,76 +17,40 @@ <h2 class="panel-title text-center">Requiero un servicio de... <span class="glyp
1717
1818 <!-- Text Boxes and Other User Inputs. Note ng-model binds the values to Angular $scope -->
1919 < div class ="form-group ">
20- < label for ="username "> Tu nombre: < span class ="badge "> campos requeridos</ span > </ label >
21- < input type ="text " class ="form-control " id ="username " ng-model ="formData.username " required >
22- </ div >
23- <!--
24- <label class="radio control-label">Gender</label>
25- <div class="radio">
26- <label>
27- <input type="radio" name="optionsRadios" id="radiomale" value="Male" ng-model="formData.gender">
28- Male
29- </label>
30- </div>
31- <div class="radio" required>
32- <label>
33- <input type="radio" name="optionsRadios" id="radiofemale" value="Female" ng-model="formData.gender">
34- Female
35- </label>
36- </div>
37- <div class="radio">
38- <label>
39- <input type="radio" name="optionsRadios" id="radioother" value="What's it to ya?" ng-model="formData.gender">
40- What's it to ya?
41- </label>
20+ < label for ="name "> Tu nombre: < span class ="badge "> campos requeridos</ span > </ label >
21+ < input type ="text " class ="form-control " id ="name " ng-model ="formData.name " required >
4222 </ div >
4323
4424 < div class ="form-group ">
45- <label for="age">Age</label>
46- <input type="number" class="form-control" id="age" placeholder="72" ng-model="formData.age" required>
47- </div>
48- -->
49- < div class ="form-group ">
50- < label for ="language "> Servicio requerido</ label >
51- < input type ="text " class ="form-control " id ="language " placeholder ="Fontarería, Albañilería, Jardinería " ng-model ="formData.favlang " required >
25+ < label for ="skillrequired "> Servicio requerido</ label >
26+ < input type ="text " class ="form-control " id ="skillrequired " placeholder ="Fontarería, Albañilería, Jardinería " ng-model ="formData.skillrequired " required >
5227 </ div >
5328 < div class ="form-group ">
54- < label for ="language "> Descripcion de la chamba</ label >
55- < input type ="text " class ="form-control " id ="language " placeholder ="Se rompio la llave del grifo " ng-model ="formData.favlang " required >
29+ < label for ="description "> Descripcion de la chamba</ label >
30+ < input type ="text " class ="form-control " id ="description " placeholder ="Se rompio la llave del grifo " ng-model ="formData.description " required >
5631 </ div >
57- < label > Contactar me por: </ label >
32+
5833 < div class ="form-group ">
59- < label class ="checkbox-inline ">
60- < input type ="checkbox " name ="optionsRadios " id ="checkphone " value ="telefono " ng-model ="formData.male " ng-true-value = "'Telefono' ">
61- Telefono
62- </ label >
63- < label class ="checkbox-inline ">
64- < input type ="checkbox " name ="optionsRadios " id ="checkwhatsapp " value ="whatsapp " ng-model ="formData.female " ng-true-value ="'WhatsApp' ">
65- WhatsApp
66- </ label >
67- < label class ="checkbox-inline ">
68- < input type ="checkbox " name ="optionsRadios " id ="checkchambapp " value ="chambapp " ng-model ="formData.other " ng-true-value ="'ChambApp' ">
69- ChambApp
70- </ label >
34+ < label for ="phone "> telefono</ label >
35+ < input type ="text " class ="form-control " id ="phone " placeholder ="+52 33 36 45 18 " ng-model ="formData.phone " required >
7136 </ div >
72- <!--
73- <div class="form-group">
37+
38+ < div class ="form-group " hidden >
7439 < label for ="latitude "> Latitud</ label >
75- <input type="text" class="form-control" id="latitude" value="39.500 " ng-model="formData.latitude" readonly>
40+ < input type ="text " class ="form-control " id ="latitude " value ="20.734699 " ng-model ="formData.latitude " readonly >
7641 </ div >
77- <div class="form-group">
42+ < div class ="form-group " hidden >
7843 < label for ="longitude "> Longitud</ label >
79- <input type="text" class="form-control" id="longitude" value="-98.350 " ng-model="formData.longitude" readonly>
44+ < input type ="text " class ="form-control " id ="longitude " value ="-103.455321 " ng-model ="formData.longitude " readonly >
8045 </ div >
8146 < div class ="form-group ">
8247 <!-- Note RefreshLoc button tied to addCtrl. This requests a refresh of the HTML5 verified location. -->
83- <!--
84- <label for="verified">HTML5 Verified Location? <span><button ng-click="refreshLoc()" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-refresh"></span></button></span></label>
48+ < label for ="verified "> Verificar mi ubicacion < span > < button ng-click ="refreshLoc() " class ="btn btn-default btn-xs "> < span class ="glyphicon glyphicon-refresh "> </ span > </ button > </ span > </ label >
8549 < input type ="text " class ="form-control " id ="verified " placeholder = "Nope (Thanks for spamming my map...) " ng-model ="formData.htmlverified " readonly >
8650 </ div >
87- -->
51+
8852 <!-- Submit button. Note that its tied to createUser() function from addCtrl. Also note ng-disabled logic which prevents early submits. -->
89- < button type ="submit " class ="btn btn-danger btn-block " ng-click ="createUser() " ng-disabled ="addForm.$invalid "> Buscar</ button >
53+ < button type ="submit " class ="btn btn-danger btn-block " ng-click ="createUser() " ng-disabled ="addForm.$invalid "> Buscar Ayudante </ button >
9054 </ form >
9155 </ div >
9256 </ div >
0 commit comments