X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3d79f9fd88ab2784b292c8eafc46070472b2a4c9..6094a97ce6297d390e5bbf733f5c2b4cc6b2076c:/app/views/preferences/edit.html.erb?ds=sidebyside diff --git a/app/views/preferences/edit.html.erb b/app/views/preferences/edit.html.erb index 2c3cd4ba0..aaf07e927 100644 --- a/app/views/preferences/edit.html.erb +++ b/app/views/preferences/edit.html.erb @@ -15,6 +15,14 @@ :class => "form-select" %> +
+ <%= 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" %> +
+ <%= f.primary t(".save") %> <%= link_to t(".cancel"), preferences_path, :class => "btn btn-link" %> <% end %>