(object int, objectRight int, selectedObject func(string, int), selectedRight func(string, int))
| 312 | } |
| 313 | |
| 314 | func getObjectPermsForm(object int, objectRight int, selectedObject func(string, int), selectedRight func(string, int)) *XForm { |
| 315 | form := NewXForm(). |
| 316 | AddDropDown("Object Class", classVals, |
| 317 | object, selectedObject). |
| 318 | AddDropDown( |
| 319 | "Right", []string{"Create Child", "Delete Child", "Create & Delete Child"}, |
| 320 | objectRight, selectedRight) |
| 321 | |
| 322 | return form |
| 323 | } |
| 324 | |
| 325 | func getPropertyPermsForm(property int, propertyRight int, selectedProperty func(string, int), selectedRight func(string, int)) *XForm { |
| 326 | form := NewXForm() |
no test coverage detected