Merge pull request #70 from matthewblain/master

Switch CSRF token rendering mechanism.
master
Steven Loria 9 years ago
commit 2a2b388a99
  1. 2
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/public/register.html

@ -5,7 +5,7 @@
<h1>Register</h1> <h1>Register</h1>
<br/> <br/>
<form id="registerForm" class="form form-register" method="POST" action="" role="form"> <form id="registerForm" class="form form-register" method="POST" action="" role="form">
{{ form.hidden_tag() }} <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<div class="form-group"> <div class="form-group">
{{form.username.label}} {{form.username.label}}
{{form.username(placeholder="Username", class_="form-control")}} {{form.username(placeholder="Username", class_="form-control")}}

Loading…
Cancel
Save