File tree 1 file changed +6
-4
lines changed
src/main/resources/templates
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 28
28
< td th:text ="${user.getRole()} "> </ td >
29
29
< td >
30
30
< div class ="btn-group ">
31
- < a th:href ="" class ="btn btn-success btn-sm "> View</ a >
32
- < a th:href ="" class ="btn btn-warning btn-sm "> Edit</ a >
33
- < a th:href ="" class ="btn btn-danger btn-sm "> Delete</ a >
34
- < a th:href ="" class ="btn btn-secondary btn-sm "> Change Status</ a >
31
+ < div class ="btn-group ">
32
+ < a th:href ="@{/user/view/{userId}(userId=${user.getId()})} " class ="btn btn-success btn-sm "> View</ a >
33
+ < a th:href ="@{/user/edit/{userId}(userId=${user.getId()})} " class ="btn btn-warning btn-sm "> Edit</ a >
34
+ < a th:href ="@{/user/delete/{userId}(userId=${user.getId()})} " class ="btn btn-danger btn-sm "> Delete</ a >
35
+ < a th:href ="@{/user/change-status/{userId}(userId=${user.getId()})} " class ="btn btn-secondary btn-sm "> Change Status</ a >
36
+ </ div >
35
37
</ div >
36
38
</ td >
37
39
</ tr >
You can’t perform that action at this time.
0 commit comments