Merge pull request #8 from Widdershin/master

Login form on nav.html posts to current page instead of "/"
master
Steven Loria 11 years ago
commit 31efcfb915
  1. 2
      {{cookiecutter.app_name}}/{{cookiecutter.app_name}}/templates/nav.html

@ -34,7 +34,7 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="{{ url_for('public.register') }}">Create account</a></li>
</ul>
<form id="loginForm" method="POST" class="navbar-form form-inline navbar-right" action="" role="login">
<form id="loginForm" method="POST" class="navbar-form form-inline navbar-right" action="/" role="login">
{{ form.hidden_tag() }}
<div class="form-group">
{{ form.username(placeholder="Username", class_="form-control") }}

Loading…
Cancel
Save