1111< link
1212 href ="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all "
1313 rel ="stylesheet " type ="text/css " />
14- < link href ="/metro/font-awesome/css/font-awesome.min.css "
14+ < link th: href ="@{ /metro/font-awesome/css/font-awesome.min.css} "
1515 rel ="stylesheet " type ="text/css " />
16- < link href ="/metro/bootstrap/css/bootstrap.min.css " rel =" stylesheet "
17- type ="text/css " />
18- < link href ="/metro/bootstrap-switch/css/bootstrap-switch.min.css "
16+ < link th: href ="@{ /metro/bootstrap/css/bootstrap.min.css} "
17+ rel =" stylesheet " type ="text/css " />
18+ < link th: href ="@{ /metro/bootstrap-switch/css/bootstrap-switch.min.css} "
1919 rel ="stylesheet " type ="text/css " />
20- < link rel ="stylesheet " type ="text/css " href ="/metro/select2/select2.css " />
2120< link rel ="stylesheet " type ="text/css "
22- href ="/metro/datatables/plugins/bootstrap/dataTables.bootstrap.css " />
21+ th:href ="@{/metro/select2/select2.css} " />
22+ < link rel ="stylesheet " type ="text/css "
23+ th:href ="@{/metro/datatables/plugins/bootstrap/dataTables.bootstrap.css} " />
2324
2425
25- < link href ="/metro/css/components.css " id ="style_components "
26+ < link th: href ="@{ /metro/css/components.css} " id ="style_components "
2627 rel ="stylesheet " type ="text/css " />
27- < link href ="/metro/css/plugins.css " rel ="stylesheet " type ="text/css " />
28- < link href ="/metro/layout2/css/layout.css " rel ="stylesheet "
28+ < link th:href ="@{/metro/css/plugins.css} " rel ="stylesheet "
2929 type ="text/css " />
30- < link id ="style_color " href ="/metro/layout2/css/themes/grey.css "
30+ < link th:href ="@{/metro/layout2/css/layout.css} " rel ="stylesheet "
31+ type ="text/css " />
32+ < link id ="style_color " th:href ="@{/metro/layout2/css/themes/grey.css} "
3133 rel ="stylesheet " type ="text/css " />
3234
3335< link rel ="shortcut icon " href ="favicon.ico " />
6466
6567 < div class ="form-body ">
6668 < div class ="form-group form-md-line-input ">
67- < label th:if ="${#fields.hasErrors('name')} " style ="color:red; "
68- th:errors ="*{name} "> Name fields error</ label > < input
69- type ="text " class ="form-control " th:field ="*{name} "
70- id ="name " name ="name " /> < label for ="name "> Name</ label >
69+ < label th:if ="${#fields.hasErrors('name')} "
70+ style ="color: red; " th:errors ="*{name} "> Name fields
71+ error</ label > < input type ="text " class ="form-control "
72+ th:field ="*{name} " id ="name " name ="name " /> < label
73+ for ="name "> Name</ label >
7174 </ div >
7275 < div class ="form-group form-md-line-input ">
73- < label th:if ="${#fields.hasErrors('email')} " style ="color:red; "
74- th:errors ="*{email} "> Email fields error</ label > < input
75- type ="text " class ="form-control " th:field ="*{email} "
76- id ="email " name ="email " /> < label for ="email "> Email</ label >
76+ < label th:if ="${#fields.hasErrors('email')} "
77+ style ="color: red; " th:errors ="*{email} "> Email
78+ fields error</ label > < input type ="text " class ="form-control "
79+ th:field ="*{email} " id ="email " name ="email " /> < label
80+ for ="email "> Email</ label >
7781
7882
7983 </ div >
8084 < div class ="form-group form-md-line-input ">
81- < label th:if ="${#fields.hasErrors('batch')} " style ="color:red; "
82- th:errors ="*{batch} "> Batch fields error</ label > < input
83- type ="text " class ="form-control " id ="batch "
84- th:field ="*{batch} " name ="batch " /> < label for ="batch "> Batch</ label >
85+ < label th:if ="${#fields.hasErrors('batch')} "
86+ style ="color: red; " th:errors ="*{batch} "> Batch
87+ fields error</ label > < input type ="text " class ="form-control "
88+ id ="batch " th:field ="*{batch} " name ="batch " /> < label
89+ for ="batch "> Batch</ label >
8590
8691
8792 </ div >
8893 < div class ="form-group form-md-line-input ">
8994 < label th:if ="${#fields.hasErrors('interested')} "
90- th:errors ="*{interested} " style ="color:red; "> Interested fields error </ label > < input
91- type ="text " class ="form-control " th:field =" *{interested} "
92- id ="interested " name ="interested " /> < label
93- for ="interested "> Interested</ label >
95+ th:errors ="*{interested} " style ="color: red; "> Interested
96+ fields error </ label > < input type ="text " class ="form-control "
97+ th:field =" *{interested} " id ="interested " name ="interested " />
98+ < label for ="interested "> Interested</ label >
9499 </ div >
95100 </ div >
96101 < div class ="form-actions noborder ">
108113 </ div >
109114 </ div >
110115
111- < script src ="/metro/jquery.min.js " type ="text/javascript "> </ script >
112- < script src ="/metro/jquery-migrate.min.js " type ="text/javascript "> </ script >
113- < script src ="/metro/jquery-ui/jquery-ui.min.js " type ="text/javascript "> </ script >
114- < script src ="/metro/bootstrap/js/bootstrap.min.js "
116+ < script th:src ="@{/metro/jquery.min.js} " type ="text/javascript "> </ script >
117+ < script th:src ="@{/metro/jquery-migrate.min.js} " type ="text/javascript "> </ script >
118+ < script th:src ="@{/metro/jquery-ui/jquery-ui.min.js} "
119+ type ="text/javascript "> </ script >
120+ < script th:src ="@{/metro/bootstrap/js/bootstrap.min.js} "
115121 type ="text/javascript "> </ script >
116- < script src ="/metro/jquery.blockui.min.js " type ="text/javascript "> </ script >
117- < script src ="/metro/bootstrap-switch/js/bootstrap-switch.min.js "
122+ < script th: src ="@{ /metro/jquery.blockui.min.js} " type ="text/javascript "> </ script >
123+ < script th: src ="@{ /metro/bootstrap-switch/js/bootstrap-switch.min.js} "
118124 type ="text/javascript "> </ script >
119- < script type ="text/javascript " src ="/metro/select2/select2.min.js "> </ script >
120125 < script type ="text/javascript "
121- src ="/metro/datatables/media/js/jquery.dataTables.min.js "> </ script >
126+ th:src ="@{/metro/select2/select2.min.js} "> </ script >
127+ < script type ="text/javascript "
128+ th:src ="@{/metro/datatables/media/js/jquery.dataTables.min.js} "> </ script >
122129 < script type ="text/javascript "
123- src ="/metro/datatables/extensions/TableTools/js/dataTables.tableTools.min.js "> </ script >
130+ th: src ="@{ /metro/datatables/extensions/TableTools/js/dataTables.tableTools.min.js} "> </ script >
124131 < script type ="text/javascript "
125- src ="/metro/datatables/plugins/bootstrap/dataTables.bootstrap.js "> </ script >
126- < script src ="/metro/pages/scripts/table-advanced.js "> </ script >
132+ th: src ="@{ /metro/datatables/plugins/bootstrap/dataTables.bootstrap.js} "> </ script >
133+ < script th: src ="@{ /metro/pages/scripts/table-advanced.js} "> </ script >
127134</ body >
128135</ html >
0 commit comments