put form into contentContainer

This commit is contained in:
Uwe Steinmann 2021-05-03 22:03:37 +02:00
parent 90f849c801
commit b7c46ccfda

View File

@ -150,6 +150,7 @@ $(document).ready( function() {
<input type="hidden" name="action" value="addrole">
<?php
}
$this->contentContainerStart();
$this->formField(
getMLText("role_name"),
array(
@ -187,6 +188,7 @@ $(document).ready( function() {
)
);
}
$this->contentContainerEnd();
if($currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'editrole')) || !$currRole && $accessop->check_controller_access('RoleMgr', array('action'=>'addrole'))) {
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText($currRole ? "save" : "add_role"));
}