]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/terms.html.erb
Add some validations for i18n values
[rails.git] / app / views / users / terms.html.erb
index f161667029dbad3b7cd8d8602d8aa518919020b1..e2ece8f1a9b3049f681e91d4175456af5e988de0 100644 (file)
 
   <div>
     <p id="contributorGuidance" class="text-muted">
 
   <div>
     <p id="contributorGuidance" class="text-muted">
-      <%= t ".guidance_html",
-            :summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary",
-            :translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>
+      <%= t ".guidance_info_html",
+            :readable_summary_link => link_to(t(".readable_summary"),
+                                              "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary"),
+            :informal_translations_link => link_to(t(".informal_translations"),
+                                                   "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations") %>
     </p>
   </div>
   <div class="mb-3">
     </p>
   </div>
   <div class="mb-3">