Add objects directly to Entry::class when rendering a template. Fix objectclasses and attributes processing for templates
This commit is contained in:
@@ -19,7 +19,23 @@
|
||||
"attribute2": {
|
||||
"display": "Attribute 2",
|
||||
"hint": "This is an example",
|
||||
"type": "input", // Default is input
|
||||
"order": 2
|
||||
},
|
||||
"attribute3": {
|
||||
"display": "Attribute 3",
|
||||
"type": "select",
|
||||
"options": {
|
||||
"/bin/bash": "Bash",
|
||||
"/bin/csh": "C Shell",
|
||||
"/bin/dash": "Dash",
|
||||
"/bin/sh": "Shell",
|
||||
"/bin/tsh": "Turbo C Shell",
|
||||
"/bin/zsh": "ZSH",
|
||||
"/bin/false": "False",
|
||||
"/usr/sbin/nologin": "No Login"
|
||||
},
|
||||
"order": 8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -66,7 +66,8 @@
|
||||
},
|
||||
"loginShell": {
|
||||
"display": "Login Shell",
|
||||
"select": {
|
||||
"type": "select",
|
||||
"options": {
|
||||
"/bin/bash": "Bash",
|
||||
"/bin/csh": "C Shell",
|
||||
"/bin/dash": "Dash",
|
||||
|
Reference in New Issue
Block a user