]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/preferences/edit.html.erb
Merge remote-tracking branch 'upstream/pull/5387'
[rails.git] / app / views / preferences / edit.html.erb
index 34cb72046d74efe73e8e050c737eb4a60df3aee7..aaf07e927e27a11b9d0a599a9ce2d4887563307d 100644 (file)
     <%= 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>
+
+  <div class="mb-3">
+    <%= label_tag "map_color_scheme", t("preferences.show.preferred_map_color_scheme"), :class => "form-label" %>
+    <%= select_tag "map_color_scheme",
+                   options_for_select(%w[auto light dark].map { |scheme| [t("preferences.show.map_color_schemes.#{scheme}"), scheme] },
+                                      preferred_color_scheme(:map)),
                    :class => "form-select" %>
   </div>