Skip to content

Commit

Permalink
FIX: CORRECT THEME TOGGLE LABEL
Browse files Browse the repository at this point in the history
correct theme toggole label in sidebar template.
  • Loading branch information
nsosnsos committed Sep 1, 2023
1 parent fb7ac04 commit a7c567f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hallelujah/templates/main/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="container-fluid mt-5">
<form method="post" role="form" class="form-check form-switch mb-3" id="toggleForm" action="{{ url_for('main.theme_switch', _external=True) }}">
<input class="form-check-input" type="checkbox" id="toggle" name="toggle"{% if request.cookies.get('theme') and request.cookies['theme'] == config.SYS_THEME_NIGHT %} checked="y"{% endif %}>
<label class="form-check-label mx-1" for="themeToggle"><i class="bi-moon-stars mx-1"></i>Night Mode</label>
<label class="form-check-label mx-1" for="toggle"><i class="bi-moon-stars mx-1"></i>Night Mode</label>
</form>
</div>

Expand Down

0 comments on commit a7c567f

Please sign in to comment.