</h5> <?php if (isset($account_updated_departaments) && $account_updated_departaments == 'done') { $msg = erTranslationClassLhTranslation::getInstance()->getTranslation('user/account', 'Account updated'); ?> <?php include erLhcoreClassDesign::designtpl('lhkernel/alert_success.tpl.php'); ?> <?php } ?> <?php $userDepartaments = erLhcoreClassUserDep::getUserDepartamentsIndividual($user->id); $userDepartamentsGroup = erLhcoreClassModelDepartamentGroupUser::getUserGroupsIds($user->id); ?> <form action="<?php echo erLhcoreClassDesign::baseurl('user/edit'); ?> /<?php echo $user->id; ?> #departments" method="post"> <?php include erLhcoreClassDesign::designtpl('lhuser/account/departments_assignment.tpl.php'); ?> <input type="submit" class="btn btn-default" name="UpdateDepartaments_account" value="<?php