Skip to content

Commit

Permalink
Update view.html
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Dec 20, 2023
1 parent 7c5ac70 commit aa420e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hub/main/resources/templates/user/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<div class="ui-content">
<form action="/api/webapp/user/edit" method="post">
<h2>User <b th:text="${target.getBestName()}"></b>
<div th:if="${user.canGovern(target)}"> - <a class="ui-button" th:href="@{'/user/edit/'+${id}}">Edit</a></div>
<span th:if="${user.canGovern(target)}"> - <a class="ui-button" th:href="@{'/user/edit/'+${id}}">Edit</a></span>
</h2>
<table>
<tbody>
<tr><td>Internal ID</td><td><input name="id" readonly th:value="${target.id}" type="text"></td></tr>
Expand Down

0 comments on commit aa420e8

Please sign in to comment.