[openstreetmap/openstreetmap-website] WIP: simple_form (#2655)

Andy Allan notifications at github.com
Thu Jun 11 12:06:08 UTC 2020


@gravitystorm commented on this pull request.



> @@ -116,6 +117,20 @@ en:
       # html: '<abbr title="required">*</abbr>'
     error_notification:
       default_message: "Please review the problems below:"
+    hints:
+      trace:
+        tagstring: comma delimited
+    labels:
+      trace:
+        gpx_file: Upload GPX File
+        visibility: Visibility
+    options:
+      trace:
+        visibility:
+          private: Private (only shared as anonymous, unordered points)
+          public: Public (shown in trace list and as anonymous, unordered points)
+          trackable: Trackable (only shared as anonymous, ordered points with timestamps)
+          identifiable: Identifiable (shown in trace list and as identifiable, ordered points with timestamps)

Possibly - I think the existing translations are used for the `:show` action. That could be refactored to use the hints.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2655#discussion_r438734825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20200611/1c49dad9/attachment.htm>


More information about the rails-dev mailing list