Skip to content

Commit cc42d5a

Browse files
author
Johannes Gijsbers
committed
Moved out tal:condition up one element, to prevent an empty form form appearing.
1 parent 6e90b7b commit cc42d5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/classic/html/page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</tal:block>
3232
</p>
3333

34-
<form method="POST" action=".">
34+
<form method="POST">
3535
<p class="classblock"
3636
tal:condition="python:request.user.hasPermission('View', 'issue')">
3737
<b>Issues</b><br>
@@ -69,8 +69,8 @@
6969
href="user?:template=item">Add User</a>
7070
</p>
7171

72-
<form method="POST" action=".">
73-
<p class="userblock" tal:condition="python:request.user.username=='anonymous'">
72+
<form method="POST" tal:condition="python:request.user.username=='anonymous'">
73+
<p class="userblock">
7474
<b>Login</b><br>
7575
<input size="10" name="__login_name"><br>
7676
<input size="10" type="password" name="__login_password"><br>

0 commit comments

Comments
 (0)