|
|
@@ -24,7 +24,9 @@
|
|
|
<input type="hidden" name="userId" th:value="${id}"/>
|
|
|
<div class="layui-form-item">
|
|
|
<div class="layui-input-block">
|
|
|
- <input th:each="item:${list}" type="checkbox" name="roles" th:title="${item.name}"
|
|
|
+ <!--<input th:each="item:${list}" type="checkbox" name="roles" th:title="${item.name}"
|
|
|
+ th:value="${item.id}" th:checked="${#sets.contains(authRoles, item)}" lay-skin="primary">-->
|
|
|
+ <input th:each="item:${list}" type="radio" name="role" th:title="${item.name}"
|
|
|
th:value="${item.id}" th:checked="${#sets.contains(authRoles, item)}" lay-skin="primary">
|
|
|
</div>
|
|
|
</div>
|