Skip to content

Commit e721b28

Browse files
Fix environment banner and uncommented button (#277)
1 parent 3dead20 commit e721b28

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

app/locals.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// app/locals.js
2+
const environmentMiddleware = require('./lib/middleware/environment')
3+
24
module.exports = (req, res, next) => {
5+
environmentMiddleware(req, res, () => {})
36

47
const currentUser = req.session.data.currentUser
58
const currentBSU = currentUser

app/views/events/medical-information/record-breast-features.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ <h1 class="nhsuk-heading-l">
3030
</p>
3131

3232
{# Button for use in testing #}
33-
{{ button({
33+
{# {{ button({
3434
text: "Show location borders",
3535
classes: "nhsuk-button--secondary",
3636
attributes: {
3737
id: "toggleBordersBtn"
3838
},
3939
type: "button"
40-
}) }}
40+
}) }} #}
4141

4242
<div class="breast-features-diagram-header">
4343
<h2 class="nhsuk-heading-m">Where is the feature?</h2>

0 commit comments

Comments
 (0)