[openstreetmap/openstreetmap-website] Improved error messages and UI when importing GPS trace files (PR #5117)
Nenad Vujicic
notifications at github.com
Fri Sep 13 11:03:38 UTC 2024
@nenad-vujicic commented on this pull request.
> @@ -3,7 +3,8 @@
<% end %>
<%= bootstrap_form_for @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
- <%= f.file_field :gpx_file, :placeholder => t("helpers.file.prompt") %>
+ <%= f.file_field :gpx_file, :placeholder => t("helpers.file.prompt"),
+ :help => ".gpx, .tar.gz, .tar.bz2, .tar, .zip, .gpx.gz, .gpx.bz2" %>
Yes, I couldn't imagine how I could translate list of file formats. But, if you think we should put it, I can put it?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5117#discussion_r1758663002
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5117/review/2302826486 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240913/b41a1426/attachment.htm>
More information about the rails-dev
mailing list