server/java/renkan-web/src/main/webapp/WEB-INF/templates/fragment/userForm.html
author rougeronj
Mon, 22 Dec 2014 12:38:16 +0100
changeset 350 0b6f2883a67b
parent 316 242510015401
permissions -rw-r--r--
update path to the new lib folders
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
224
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 222
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}" >
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
  <head>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    <meta charset="utf-8"/>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    <title>User form</title>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
  </head>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
<body>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
<div id="userForm" th:fragment="userFormFragment" >
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  <script type="text/javascript" th:inline="javascript">
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    //<![CDATA[
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
        function userFormSubmit() {
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    14
            var errors = {};
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    15
            var valid = true;
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    16
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    17
            if(!$('#title').val()) {
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    18
                errors['title'] = /*[[#{renkan.error.title.empty}]]*/"renkan.error.title.empty";
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    19
                valid = false;
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    20
            }
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    21
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    22
            var password = $('#password').val();
226
d2b688aadd8c Try to save passwords
ymh <ymh.work@gmail.com>
parents: 225
diff changeset
    23
            var passwordConf = $('#passwordConfirm').val();
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    24
            var objId = $('#id').val();
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
            
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    26
            if(!objId && !password) {
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    27
                errors['password'] = /*[[#{renkan.error.password.missing}]]*/"renkan.error.passwsord.missing";
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    28
                valid = false;
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    29
            }
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    30
            if(valid && password !== passwordConf) {
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    31
                errors['password'] = /*[[#{renkan.error.password.equals}]]*/"renkan.error.passwsord.equals";
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    32
                valid = false;
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    33
            }
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
            showformErrors(errors);
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
            return valid;
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
        }
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
        
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
        
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
        $(function(){
224
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 222
diff changeset
    42
            var regionalValue = /*[[${#ctx.getLocale().getLanguage()}]]*/"";
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    43
            var dateFormat = /*[[#{date.date.datePicker.format}]]*/"yy/mm/dd";
224
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 222
diff changeset
    44
            $.datepicker.setDefaults($.datepicker.regional[ "" ]);
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    45
            $('.datepicker').each(function (i,elt) {
233
bf599928e1ad correct joda migration
ymh <ymh.work@gmail.com>
parents: 231
diff changeset
    46
                var picker_options = $.extend({showButtonPanel: true},$.datepicker.regional[regionalValue=="en"?"":regionalValue]);
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    47
                picker_options.dateFormat = dateFormat;
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    48
                picker_options.altFormat = $.datepicker.ISO_8601;
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    49
                var elt = $(elt);
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    50
                picker_options.altField = '#'+elt.attr('id').replace('-disp', '');
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    51
                elt.datepicker(picker_options);
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    52
            });
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    53
            
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
            $('#color').spectrum({
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    55
                showInput: true,
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    56
                showAlpha: true,
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    57
                showPalette: true,
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    58
                showInitial: true,
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    59
                preferredFormat: 'hex'
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
            });
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    61
            $("#model-form").submit(function(e) {
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    62
                $('.datepicker').each(function (i,elt) {
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    63
                    var elt = $(elt);
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    64
                    elt_val = elt.val();
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    65
                    console.log(elt.attr('id'),elt_val);
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    66
                    if(!elt_val) {
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    67
                        $('#'+elt.attr('id').replace('-disp', '')).val("");
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    68
                    }
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
    69
                });
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    70
                return userFormSubmit();
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    71
            });
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    72
            
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    73
        });
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    74
    //]]>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    75
  </script>
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    76
  <form action="#" th:object="${user}" th:action="@{/admin/users/save}" method="post" id="model-form">
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    77
     <fieldset class="form-fields">
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    78
       <input type="hidden" th:field="*{id}" th:if="*{id}" />
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    79
       <div>
226
d2b688aadd8c Try to save passwords
ymh <ymh.work@gmail.com>
parents: 225
diff changeset
    80
         <label for="title" th:text="#{renkanAdmin.form.name}">Name: </label> 
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    81
         <input type="text" th:field="*{title}" />
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    82
         <div th:if="${#fields.hasErrors('title')}" th:errors="*{title}" class="form-error"></div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    83
       </div> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    84
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    85
         <label for="uri" th:text="#{renkanAdmin.form.uri}">Uri: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    86
         <input type="text" th:field="*{uri}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    87
       </div> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    88
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    89
         <label for="description" th:text="#{renkanAdmin.form.description}">Description: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    90
         <textarea th:field="*{description}"></textarea> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    91
       </div> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    92
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    93
         <label for="color" th:text="#{renkanAdmin.form.color}">Color: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    94
         <input type="text" th:field="*{color}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    95
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    96
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    97
         <label for="avatar" th:text="#{renkanAdmin.form.avatar}">Avatar: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    98
         <input type="text" th:field="*{avatar}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
    99
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   100
       <div>
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   101
         <label for="password" th:text="#{renkanAdmin.form.password}">Password: </label> 
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   102
         <input type="password" th:field="*{password}" /> 
227
0877747b0213 put password encoder where it can be injected
ymh <ymh.work@gmail.com>
parents: 226
diff changeset
   103
         <div th:if="${#fields.hasErrors('password')}" th:errors="*{password}" class="form-error"></div>
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   104
       </div>
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   105
       <div>
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   106
         <label for="passwordConfirm" th:text="#{renkanAdmin.form.passwordConfirm}">Confirm password: </label> 
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   107
         <input type="password" th:field="*{passwordConfirm}" /> 
227
0877747b0213 put password encoder where it can be injected
ymh <ymh.work@gmail.com>
parents: 226
diff changeset
   108
         <div th:if="${#fields.hasErrors('passwordConfirm')}" th:errors="*{passwordConfirm}" class="form-error"></div>
225
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   109
       </div>       
0fcce86e650c add validation for users
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
   110
       <div>
237
0e6c826a046e Add group and user management on user and group repositories + unit tests
ymh <ymh.work@gmail.com>
parents: 234
diff changeset
   111
         <label for="credentialsExpirationDate" th:text="#{renkanAdmin.form.credentialsExpirationDate}">Credential expiration date: </label>
0e6c826a046e Add group and user management on user and group repositories + unit tests
ymh <ymh.work@gmail.com>
parents: 234
diff changeset
   112
         <input type="hidden" name="credentialsExpirationDate" th:field="*{credentialsExpirationDate}"/>
0e6c826a046e Add group and user management on user and group repositories + unit tests
ymh <ymh.work@gmail.com>
parents: 234
diff changeset
   113
         <input type="text" id="credentialsExpirationDate-disp" class="datepicker" value="01/01/1970" th:value="${user.credentialsExpirationDate != null}?${user.credentialsExpirationDate.toString(#messages.msg('date.date.format'))}:''"/>
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
   114
          
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   115
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   116
       <div>
230
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
   117
         <label for="expirationDate" th:text="#{renkanAdmin.form.expirationDate}">Expiration date: </label>
793eece3691e Corrected date management in users.
ymh <ymh.work@gmail.com>
parents: 227
diff changeset
   118
         <input type="hidden" name="expirationDate" th:field="*{expirationDate}" />
234
d92a90b2ad53 add unit tests for users.
ymh <ymh.work@gmail.com>
parents: 233
diff changeset
   119
         <input type="text" id="expirationDate-disp" class="datepicker" value="01/01/1970" th:value="${user.expirationDate != null}?${user.expirationDate.toString(#messages.msg('date.date.format'))}:''"/> 
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   120
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   121
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   122
         <label for="email" th:text="#{renkanAdmin.form.email}">Email: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   123
         <input type="email" th:field="*{email}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   124
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   125
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   126
         <label for="enabled" th:text="#{renkanAdmin.form.enabled}">Enabled: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   127
         <input type="checkbox" th:field="*{enabled}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   128
       </div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   129
       <div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   130
         <label for="locked" th:text="#{renkanAdmin.form.locked}">Locked: </label> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   131
         <input type="checkbox" th:field="*{locked}" /> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   132
       </div>
239
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   133
<!-- todo: only user of admin group can see that -->
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   134
       <div>
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   135
           <label for="groups" th:text="#{renkanAdmin.form.groups}">Groups: </label>
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   136
           <select th:field="*{groups}" multiple="multiple">
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   137
               <option th:each="group: ${allGroups}" th:value="${group.id}" th:text="${group.title}">GROUP</option>
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   138
           </select>
67c2b0fb9b19 add user and group list in group and user edit pages
ymh <ymh.work@gmail.com>
parents: 237
diff changeset
   139
       </div>
231
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   140
       <div>
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   141
           <label for="userAuthorities" th:text="#{renkanAdmin.form.roles}">Roles: </label>
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   142
           <select th:field="*{userAuthorities}" multiple="multiple">
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   143
               <option th:each="role: ${T(org.iri_research.renkan.Constants).USER_ROLES_SELECT}" th:value="${role}"  th:text="#{${'renkan.user.roles.'+role}}">USER_ROLE</option>
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   144
           </select>
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 230
diff changeset
   145
       </div>
222
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   146
       <div class="submit"> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   147
         <button type="submit" name="save" th:text="#{renkanAdmin.form.user.submit}">Save</button>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   148
         <!--button type="button" name="cancel" th:text="#{renkanAdmin.form.user.cancel}" th:onclick="location">Cancel</button-->
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   149
       </div> 
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   150
      
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   151
     </fieldset>  
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   152
  </form>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   153
</div>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   154
</body>
6ac00231ee34 Manage users. (not passwords)
ymh <ymh.work@gmail.com>
parents:
diff changeset
   155
</html>