@@ -332,13 +332,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
332
332
< div class ="col-xs-6 ">
333
333
< input type ="text " id ="michelNumbers " class ="form-control js-catalog-numbers " th:field ="*{michelNumbers} " />
334
334
</ div >
335
- < div class ="col-xs-3 ">
336
- < input type ="text " class ="form-control " size ="5 " th:field ="*{michelPrice} " />
337
- </ div >
338
- < div class ="col-xs-3 ">
339
- < select class ="form-control " disabled ="disabled ">
340
- < option value ="EUR "> EUR</ option >
341
- </ select >
335
+ < div class ="col-xs-3 no-padding ">
336
+ < div class ="input-group ">
337
+ < span class ="input-group-addon "> €</ span >
338
+ < input type ="text " class ="form-control js-with-tooltip " size ="5 " title ="EUR " th:field ="*{michelPrice} " />
339
+ </ div >
342
340
</ div >
343
341
</ div >
344
342
< span id ="michelNumbers.errors " class ="help-block " th:if ="${#fields.hasErrors('michelNumbers')} " th:each ="error : ${#fields.errors('michelNumbers')} " th:text ="${error} "> </ span >
@@ -357,13 +355,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
357
355
< div class ="col-xs-6 ">
358
356
< input type ="text " id ="scottNumbers " class ="form-control js-catalog-numbers " th:field ="*{scottNumbers} " />
359
357
</ div >
360
- < div class ="col-xs-3 ">
361
- < input type ="text " class ="form-control " size ="5 " th:field ="*{scottPrice} " />
362
- </ div >
363
- < div class ="col-xs-3 ">
364
- < select class ="form-control " disabled ="disabled ">
365
- < option value ="USD "> USD</ option >
366
- </ select >
358
+ < div class ="col-xs-3 no-padding ">
359
+ < div class ="input-group ">
360
+ < span class ="input-group-addon "> $</ span >
361
+ < input type ="text " class ="form-control js-with-tooltip " size ="5 " title ="USD " th:field ="*{scottPrice} " />
362
+ </ div >
367
363
</ div >
368
364
</ div >
369
365
< span id ="scottNumbers.errors " class ="help-block " th:if ="${#fields.hasErrors('scottNumbers')} " th:each ="error : ${#fields.errors('scottNumbers')} " th:text ="${error} "> </ span >
@@ -382,13 +378,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
382
378
< div class ="col-xs-6 ">
383
379
< input type ="text " id ="yvertNumbers " class ="form-control js-catalog-numbers " th:field ="*{yvertNumbers} " />
384
380
</ div >
385
- < div class ="col-xs-3 ">
386
- < input type ="text " class ="form-control " size ="5 " th:field ="*{yvertPrice} " />
387
- </ div >
388
- < div class ="col-xs-3 ">
389
- < select class ="form-control " disabled ="disabled ">
390
- < option value ="EUR "> EUR</ option >
391
- </ select >
381
+ < div class ="col-xs-3 no-padding ">
382
+ < div class ="input-group ">
383
+ < span class ="input-group-addon "> €</ span >
384
+ < input type ="text " class ="form-control js-with-tooltip " size ="5 " title ="EUR " th:field ="*{yvertPrice} " />
385
+ </ div >
392
386
</ div >
393
387
</ div >
394
388
< span id ="yvertNumbers.errors " class ="help-block " th:if ="${#fields.hasErrors('yvertNumbers')} " th:each ="error : ${#fields.errors('yvertNumbers')} " th:text ="${error} "> </ span >
@@ -407,13 +401,11 @@ <h3 th:text="${#strings.capitalize(add_series)}">
407
401
< div class ="col-xs-6 ">
408
402
< input type ="text " id ="gibbonsNumbers " class ="form-control js-catalog-numbers " th:field ="*{gibbonsNumbers} " />
409
403
</ div >
410
- < div class ="col-xs-3 ">
411
- < input type ="text " class ="form-control " size ="5 " th:field ="*{gibbonsPrice} " />
412
- </ div >
413
- < div class ="col-xs-3 ">
414
- < select class ="form-control " disabled ="disabled ">
415
- < option value ="GBP "> GBP</ option >
416
- </ select >
404
+ < div class ="col-xs-3 no-padding ">
405
+ < div class ="input-group ">
406
+ < span class ="input-group-addon "> £</ span >
407
+ < input type ="text " class ="form-control js-with-tooltip " size ="5 " title ="GBP " th:field ="*{gibbonsPrice} " />
408
+ </ div >
417
409
</ div >
418
410
</ div >
419
411
< span id ="gibbonsNumbers.errors " class ="help-block " th:if ="${#fields.hasErrors('gibbonsNumbers')} " th:each ="error : ${#fields.errors('gibbonsNumbers')} " th:text ="${error} "> </ span >
@@ -481,6 +473,10 @@ <h3 th:text="${#strings.capitalize(add_series)}">
481
473
. find ( '.glyphicon' )
482
474
. toggleClass ( 'glyphicon-chevron-down glyphicon-chevron-right' ) ;
483
475
} ) ;
476
+
477
+ $ ( '.js-with-tooltip' ) . tooltip ( {
478
+ 'placement' : 'right'
479
+ } ) ;
484
480
} ) ;
485
481
</ script >
486
482
</ body >
0 commit comments