1
1
< div class ="inmodal ">
2
2
< div class ="modal-header ">
3
- < button type ="button " class ="close " aria-label ="Close " ng-click ="close() "> < span aria-hidden ="true "> ×</ span > </ button >
3
+ < button type ="button " class ="close " aria-label ="Close " ng-click ="close() ">
4
+ < span aria-hidden ="true "> ×</ span >
5
+ </ button >
4
6
< h4 class ="modal-title " id ="reg-dialog-label "> Add Group</ h4 >
5
7
</ div >
6
8
< div class ="modal-body ">
@@ -9,24 +11,20 @@ <h4 class="modal-title" id="reg-dialog-label">Add Group</h4>
9
11
< div class ="col-md-12 " ng-include src ="'components/alert/alert.html' "> </ div >
10
12
< div class ="form-group " ng-class ="{'has-error': groupForm.name.$touched && groupForm.name.$invalid} ">
11
13
< label > Name</ label >
12
- < input ng-model ="group.name " name ="name " type ="text " class ="form-control " required >
14
+ < input ng-model ="group.name " maxlength =" 150 " name ="name " type ="text " class ="form-control " required / >
13
15
</ div >
14
16
< div class ="form-group ">
15
17
< label > Description</ label >
16
- < textarea ng-model ="group.description " class ="form-control "> </ textarea >
18
+ < textarea ng-model ="group.description " maxlength =" 2048 " class ="form-control "> </ textarea >
17
19
</ div >
18
20
< div class ="form-group ">
19
21
< div class ="checkbox ">
20
- < label >
21
- < input type ="checkbox " ng-model ="group.privateGroup "> Private Group
22
- </ label >
22
+ < label > < input type ="checkbox " ng-model ="group.privateGroup " /> Private Group </ label >
23
23
</ div >
24
24
</ div >
25
25
< div class ="form-group ">
26
26
< div class ="checkbox ">
27
- < label >
28
- < input type ="checkbox " ng-model ="group.selfRegister "> Self Register
29
- </ label >
27
+ < label > < input type ="checkbox " ng-model ="group.selfRegister " /> Self Register </ label >
30
28
</ div >
31
29
</ div >
32
30
</ form >
@@ -40,8 +38,7 @@ <h4 class="modal-title" id="reg-dialog-label">Add Group</h4>
40
38
Save
41
39
</ button >
42
40
</ div >
43
- < div style ="text-align:center;position:absolute;top:65px;left:0;width:100%;height:100%;zIndex:1; "
44
- ng-show ="isLoading ">
45
- < img src ="assets/images/loading.gif "/>
41
+ < div style ="text-align:center;position:absolute;top:65px;left:0;width:100%;height:100%;zIndex:1; " ng-show ="isLoading ">
42
+ < img src ="assets/images/loading.gif " />
46
43
</ div >
47
44
</ div >
0 commit comments