Revert "Replace govuk template with govuk frontend components - rewrite"

This commit is contained in:
Tom Byers
2019-11-26 12:14:09 +00:00
committed by GitHub
parent 653ab5e512
commit e09d510ab8
56 changed files with 358 additions and 1220 deletions

View File

@@ -328,10 +328,6 @@ class HeaderNavigation(Navigation):
'whitelist',
}
# header HTML now comes from GOVUK Frontend so requires a boolean, not an attribute
def is_selected(self, navigation_item):
return request.endpoint in self.mapping[navigation_item]
class MainNavigation(Navigation):