Fix disabling the user registration form

This commit is contained in:
Khanh Ngo
2018-12-11 10:56:37 +07:00
parent 1e6b668189
commit b56d1154cc
2 changed files with 46 additions and 52 deletions

View File

@ -31,7 +31,7 @@
</div>
{% endif %}
<p class="login-box-msg">Enter your personal details below</p>
<form action="{{ url_for('login') }}" method="post" data-toggle="validator">
<form action="{{ url_for('register') }}" method="post" data-toggle="validator">
<input type="hidden" name="_csrf_token" value="{{ csrf_token() }}">
<div class="form-group has-feedback">
<input type="text" class="form-control" placeholder="First Name" name="firstname" data-error="Please input your first name" required>