Skip to content

Commit

Permalink
feat: Upgrade govuk frontend (dvsa/olcs-selfserve#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
fibble authored Jul 29, 2024
1 parent 8121dde commit 72772c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/selfserve/module/Olcs/view/layouts/base.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $isLoggedIn = $currentUser->isLoggedIn();
} ?>
</head>

<body class="govuk-template__body app-body-class selfserve" id="<?php echo $this->pageId(); ?>">
<body class="govuk-template__body app-body-class selfserve govuk-frontend-supported" id="<?php echo $this->pageId(); ?>">
<?php
$userId = $currentUser->getUniqueId();
if (!empty($userId)) {
Expand Down Expand Up @@ -325,5 +325,9 @@ $isLoggedIn = $currentUser->isLoggedIn();
<script>
var cookieConfig = <?php echo $this->cookieManager();?>;
</script>
<script type="module">
import { initAll } from '<?php echo $this->assetPath('js/govuk-frontend.min.js'); ?>'
initAll()
</script>
</body>
</html>

0 comments on commit 72772c7

Please sign in to comment.