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) %>