<div>
 <div class="width-fixed-300 width-fixed-md-600 width-fixed-lg-800 width-fixed-xxl-900 mx-auto p-0">
 <?php if($module->id): ?>
 <h3>Редактирование (id: <?php echo \htmlentities(intval($module->id), ENT_QUOTES, 'UTF-8', false); ?>)</h3>
 <?php else: ?>
 <h3>Создание</h3>
 <?php endif; ?>
 <div class="bg-light mt-3  p-2 form-sm small">
 <?php echo $form; ?>

 </div>
 </div>
</div>
