From 6adb5d1a942ee33a4190dce7d5e055d86fcf6dfc Mon Sep 17 00:00:00 2001 From: Tobias Lindberg Date: Sat, 21 Mar 2020 21:11:36 +0100 Subject: [PATCH] fix #524 of adriankumpf/teslamate --- lib/teslamate_web/templates/settings/index.html.leex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/teslamate_web/templates/settings/index.html.leex b/lib/teslamate_web/templates/settings/index.html.leex index 96457f00be..fcb3153ab9 100644 --- a/lib/teslamate_web/templates/settings/index.html.leex +++ b/lib/teslamate_web/templates/settings/index.html.leex @@ -156,7 +156,7 @@ end %>
- <%= select(f, :preferred_range, [ideal: gettext("ideal"), rated: gettext("rated")]) %> + <%= select(f, :preferred_range, [gettext("ideal"): ideal, gettext("rated"): rated]) %>

<%= error_tag(f, :preferred_range) %>