Skip to content

Commit cc58423

Browse files
Use action link for ‘Add a new session’ link
1 parent a051bee commit cc58423

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

app/views/session/list.njk

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
title: __("session.list.title")
1515
}) }}
1616

17-
{{ button({
17+
{{ actionLink({
1818
text: __("session.new.label"),
19-
href: "/sessions/new",
20-
variant: "secondary"
19+
href: "/sessions/new"
2120
}) }}
2221

2322
<div class="nhsuk-grid-row">

0 commit comments

Comments
 (0)