Skip to content

Commit

Permalink
form class="core"
Browse files Browse the repository at this point in the history
simonw committed Sep 3, 2024

Verified

This commit was signed with the committer’s verified signature.
MaxymVlasov Maksym Vlasov
1 parent 49a6783 commit 24cada3
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datasette_auth_passwords/templates/password_login.html
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ <h1>Log in</h1>
<p class="message-error">{{ error }}</p>
{% endif %}

<form class="password-login" action="{{ urls.path("/-/login") }}" method="post">
<form class="password-login core" action="{{ urls.path("/-/login") }}" method="post">
<div>
<p>
<label for="id_username">Username</label>
2 changes: 1 addition & 1 deletion datasette_auth_passwords/templates/password_tool.html
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ <h1>Password tool</h1>
<textarea class="hashed-password">{{ hashed_password }}</textarea>
{% endif %}

<form action="/-/password-tool" method="post">
<form class="core" action="/-/password-tool" method="post">
<div>
<input type="text" name="password" style="width: 40%" autocomplete="off">
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">

0 comments on commit 24cada3

Please sign in to comment.