Skip to content

Commit

Permalink
Add titles to Petition steps and buttons to the steps index (CFM-31) (C…
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Dec 19, 2024
1 parent ddf9eb7 commit 253d876
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions app/templates/Standard/dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,33 @@
$this->set('vv_fields_inc', 'dispatch.inc');
$this->set('vv_submit_button_label', __d('operation', 'continue'));

?>

<div class="page-title-container">
<div class="page-title">
<h1><?= $vv_title; ?></h1>
</div>
</div>

<!-- Flash Messages and defined Info Banners -->
<div class="alert-container" id="flash-messages">
<?= $this->Flash->render() ?>

<?php if(!empty($indexBanners)): ?>
<?php foreach($indexBanners as $b): ?>
<?= $this->Alert->alert($b, 'warning') ?>
<?php endforeach; // $indexBanners ?>
<?php endif; // $indexBanners ?>

<?php if(!empty($banners)): ?>
<?php foreach($banners as $b): ?>
<?= $this->Alert->alert($b, 'warning') ?>
<?php endforeach; // $banners ?>
<?php endif; // $banners ?>
</div>

<?php

// By default, the form will POST to the current controller
// Note we need to open the form for view so Cake will autopopulate values
print $this->Form->create();
Expand Down

0 comments on commit 253d876

Please sign in to comment.