Skip to content

Commit

Permalink
Add fields to Petition Information (CFM-31)
Browse files Browse the repository at this point in the history
  • Loading branch information
arlen committed Oct 31, 2024
1 parent f851fb9 commit 418304d
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/resources/locales/en_US/field.po
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ msgstr "Middle"
msgid "modifiable"
msgstr "Modifiable"

msgid "modified"
msgstr "Modified"

msgid "name"
msgstr "Name"

Expand Down
46 changes: 46 additions & 0 deletions app/templates/Petitions/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,52 @@ if (!empty($vv_obj?->petitioner_person?->id)) {
}
?>

<li>
<div class="field">
<div class="field-name ">
<div class="field-title">
<?= __d('controller','EnrollmentFlows', [1]) ?>
</div>
</div>
<div class="field-info">
<?=
$this->Html->link(
$vv_obj->enrollment_flow->name,
[
'controller' => 'enrollment_flows',
'action' => 'edit',
$vv_obj->enrollment_flow->id
]
)
?>
</div>
</div>
</li>
<li>
<div class="field">
<div class="field-name ">
<div class="field-title">
<?= __d('field','created') ?>
</div>
</div>
<div class="field-info">
<?= $vv_obj->created ?>
</div>
</div>
</li>
<li>
<div class="field">
<div class="field-name ">
<div class="field-title">
<?= __d('field','modified') ?>
</div>
</div>
<div class="field-info">
<?= $vv_obj->modified ?>
</div>
</div>
</li>

<li class="form-list-header">
<h2>
<?= __d('information', 'enrollment.steps') ?>
Expand Down

0 comments on commit 418304d

Please sign in to comment.