Skip to content

Commit

Permalink
Add missing hidden input.
Browse files Browse the repository at this point in the history
  • Loading branch information
phulin committed Oct 3, 2019
1 parent 61e72a9 commit 4edb1de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ html
#navbar.collapse.navbar-collapse(style='flex: 10000 1 auto')
ul.navbar-nav.mr-auto
form(method='POST', action='/search').form-inline
input(type='hidden', name='_csrf', value=csrfToken)
.input-group.mt-2.mb-sm-2
input.form-control(width='300px' type='search', placeholder='Search', aria-label='Search', name='search')
.input-group-append
Expand Down

0 comments on commit 4edb1de

Please sign in to comment.