Skip to content

Commit

Permalink
fix teslamate-org#524 of adriankumpf/teslamate
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasehlert committed Mar 21, 2020
1 parent 3adbfb4 commit 6adb5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/teslamate_web/templates/settings/index.html.leex
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ end %>
<div class="field">
<div class="control">
<div class="select is-fullwidth">
<%= select(f, :preferred_range, [ideal: gettext("ideal"), rated: gettext("rated")]) %>
<%= select(f, :preferred_range, [gettext("ideal"): ideal, gettext("rated"): rated]) %>
</div>
</div>
<p class="help is-danger"><%= error_tag(f, :preferred_range) %></p>
Expand Down

0 comments on commit 6adb5d1

Please sign in to comment.