tao-test/app/taoGroups/views/templates/form_group.tpl

30 lines
661 B
Smarty
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?php
use oat\tao\helpers\Template;
Template::inc('form_context.tpl', 'tao');
?>
<header class="section-header flex-container-full">
<h2><?=get_data('formTitle')?></h2>
<?php if(has_data('updatedAt')) : ?>
<p><?=__('Last updated on %2s', tao_helpers_Date::displayeDate(get_data('updatedAt')))?></p>
<?php endif?>
</header>
<div class="main-container flex-container-main-form">
<div class="form-content">
<?=get_data('myForm')?>
</div>
</div>
<div class="data-container-wrapper flex-container-remainder">
<?=get_data('memberForm')?>
<?=get_data('deliveryForm')?>
</div>
<?php
Template::inc('footer.tpl', 'tao');
?>