新增:gitlink角色分级菜单完成

This commit is contained in:
2024-06-28 11:51:55 +08:00
parent c2f8da0dd1
commit ae842938c2
8 changed files with 76 additions and 65 deletions

View File

@@ -89,6 +89,8 @@
<%= f.label :role, label: '角色' %>
<div class="d-flex">
<%= f.input :admin, as: :boolean, label: '管理员', checked_value: 1, unchecked_value: 0 %>
<%= f.input :business, as: :boolean, label: '运营人员', wrapper_html: { class: 'ml-3' }, checked_value: 1, unchecked_value: 0 %>
<%= f.input :glcc_admin, as: :boolean, label: 'GLCC管理员', wrapper_html: { class: 'ml-3' }, checked_value: 1, unchecked_value: 0 %>
</div>
</div>
<% end %>