]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/preferences/edit.html.erb
Show map color scheme on user preferences page
[rails.git] / app / views / preferences / edit.html.erb
index 34cb72046d74efe73e8e050c737eb4a60df3aee7..2c3cd4ba0d961711e81002489a9b478a7163e41f 100644 (file)
@@ -11,7 +11,7 @@
     <%= label_tag "site_color_scheme", t("preferences.show.preferred_site_color_scheme"), :class => "form-label" %>
     <%= select_tag "site_color_scheme",
                    options_for_select(%w[auto light dark].map { |scheme| [t("preferences.show.site_color_schemes.#{scheme}"), scheme] },
-                                      preferred_site_color_scheme),
+                                      preferred_color_scheme(:site)),
                    :class => "form-select" %>
   </div>