Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
01a9a386
Commit
01a9a386
authored
Oct 15, 2016
by
Julian Rother
Browse files
Fixed navbar login reference on login page (closes
#119
)
parent
60736850
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
01a9a386
...
...
@@ -84,7 +84,7 @@
{
html
:
true
,
title
:
'
Login für Moderatoren
'
,
content
:
'
<form method="post" action="{{url_for(
'
login
'
, ref=request.url)}}"><input autofocus placeholder="User" name="user" type="text"><br><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>
'
content
:
'
<form method="post" action="{{url_for(
'
login
'
, ref=
request.values.get(
'
ref
'
,
request.url)
)
}}"><input autofocus placeholder="User" name="user" type="text"><br><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>
'
}
)
</script>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment