File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed
src/main/resources/templates Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,20 @@ <h2 class="form-heading" th:text="${'Results for poll #' + id}"></h2>
14
14
< h3 th:text ="${name} "> </ h3 >
15
15
16
16
< div class ="container mb-3 ">
17
- < div class ="row align-items-start ">
18
- < div class ="col border border-info bg-info bg-opacity-10 "> Choice</ div >
19
- < div class ="col border border-info bg-info bg-opacity-10 "> Votes</ div >
20
- </ div >
21
- < div class ="row align-items-start " th:each ="result: ${results} ">
22
- < div class ="col border " th:text ="${result.name} " />
23
- < div class ="col border " th:text ="${result.count} " />
24
- </ div >
17
+ < table class ="table table-striped table-bordered ">
18
+ < thead >
19
+ < tr >
20
+ < th > Choice</ th >
21
+ < th > Votes</ th >
22
+ </ tr >
23
+ </ thead >
24
+ < tbody >
25
+ < tr th:each ="result: ${results} ">
26
+ < td th:text ="${result.name} " />
27
+ < td th:text ="${result.count} " />
28
+ </ tr >
29
+ </ tbody >
30
+ </ table >
25
31
</ div >
26
32
</ div >
27
33
</ body >
You can’t perform that action at this time.
0 commit comments