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"> <input type="hidden" name="action" value="addrole">
<?php <?php
} }
$this->contentContainerStart();
$this->formField( $this->formField(
getMLText("role_name"), getMLText("role_name"),
array( 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'))) { 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")); $this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText($currRole ? "save" : "add_role"));
} }