Skip to content

Commit

Permalink
fix: language selector for redwood
Browse files Browse the repository at this point in the history
  • Loading branch information
igobranco committed Oct 3, 2024
1 parent b42524a commit 06e02a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
% if user.is_authenticated:
<input title="preference api" type="hidden" class="url-endpoint" value="${reverse('preferences_api', kwargs={'username': user.username})}" data-user-is-authenticated="true">
% else:
<input title="session update url" type="hidden" class="url-endpoint" value="${reverse('session_language')}" data-user-is-authenticated="false">
<input title="session update url" type="hidden" class="url-endpoint" value="${reverse('update_language')}" data-user-is-authenticated="false">
% endif
<label><span class="sr">${_("Choose Language")}</span>
<select class="input select language-selector" id="settings-language-value" name="language" onchange="this.form.submit()">
Expand Down

0 comments on commit 06e02a9

Please sign in to comment.