Fixed remaining places that needed datasette.urls, closes #1025

This commit is contained in:
Simon Willison 2020-10-19 22:21:19 -07:00
commit 091441a444
8 changed files with 15 additions and 14 deletions

View file

@ -15,7 +15,7 @@
<p>You are logged in as <strong>{{ display_actor(actor) }}</strong></p>
<form action="/-/logout" method="post">
<form action="{{ urls.logout() }}" method="post">
<div>
<input type="hidden" name="csrftoken" value="{{ csrftoken() }}">
<input type="submit" value="Log out">

View file

@ -8,7 +8,7 @@
<p>Set a message:</p>
<form action="/-/messages" method="post">
<form action="{{ urls.path('-/messages') }}" method="post">
<div>
<input type="text" name="message" style="width: 40%">
<div class="select-wrapper">