File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dossierfacile-bo/src/main/resources/templates/bo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 53
53
< div class ="container ">
54
54
< form th:method ="post " th:action ="@{/bo/users} " th:object ="${email} " >
55
55
< label for ="name " id =""> Email:</ label >
56
- < input pattern ="[\w.%+-]+@dossierfacile\.fr " required type ="text " name ="name " id ="name " placeholder ="on domain dossierfacile.fr ... "
57
- oninvalid ="this.setCustomValidity('wrong entry') "
56
+ < input required type ="text " name ="name " id ="name " placeholder ="on domain dossierfacile.fr ... "
58
57
oninput ="setCustomValidity('') " th:field ="*{email} "/>
59
58
< button style ="font-size: initial;float: right;padding: 10px 16px 11px; " type ="submit " name ='action ' value ='ROLE_ADMIN ' class ="btn btn-info "> create admin</ button >
60
59
< button style ="margin-right: 10px;font-size: initial;float: right;padding: 10px 16px 11px; " type ="submit " name ='action ' value ='ROLE_OPERATOR ' class ="btn btn-success "> create operator</ button >
60
+ < button style ="margin-right: 10px;font-size: initial;float: right;padding: 10px 16px 11px; " type ="submit " name ='action ' value ='ROLE_PARTNER ' class ="btn btn-success "> create partner (action db requise)</ button >
61
61
</ form >
62
62
</ div >
63
63
< div class ="container ">
You can’t perform that action at this time.
0 commit comments