Ignore:
Timestamp:
05/05/24 01:27:16 (7 months ago)
Author:
ppaunovski <paunovskipavel@…>
Branches:
master
Children:
baf4cc4
Parents:
4d026a5
Message:

Added roles to Users and some minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/resources/templates/register.html

    r4d026a5 r8b875e6  
    2929      </p>
    3030
    31       <p sec:authorize="hasRole('ROLE_ADMIN')">
    32         <label for="vrabotenType" class="sr-only">Vraboten Type</label>
    33         <select name="vrabotenType" id="vrabotenType">
    34           <option th:each="type : ${types}"
    35                   th:text="${type.name()}"
    36                   th:value="${type}" ></option>
     31<!--      <p sec:authorize="hasRole('ROLE_ADMIN')">-->
     32        <label for="role" class="sr-only">Role</label>
     33        <select name="role" id="role">
     34          <option th:each="role : ${roles}"
     35                  th:text="${role.name()}"
     36                  th:value="${role}" ></option>
    3737        </select>
    38       </p>
     38<!--      </p>-->
    3939
    4040      <p sec:authorize="hasRole('ROLE_ADMIN')">
Note: See TracChangeset for help on using the changeset viewer.