]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/gpx_success.html.erb
Improve parameters alignment
[rails.git] / app / views / notifier / gpx_success.html.erb
index 97267944e8776515923840ab705235774f992084..1571f3798041b42916e54dd981b2a62af989c99e 100644 (file)
@@ -1,8 +1,7 @@
-<% content_for :body do %>
-  <p style="margin: 0"><%= t'notifier.gpx_notification.greeting' %></p>
+<p><%= t "notifier.gpx_notification.greeting" %></p>
 
-  <p>
-    <%= render :partial => "gpx_description" %>
-    <%= t'notifier.gpx_notification.success.loaded_successfully', :trace_points => @trace_points, :possible_points => @possible_points %>
-  </p>
-<% end %>
+<p>
+  <%= render :partial => "gpx_description" %>
+  <%= t("notifier.gpx_notification.success.loaded_successfully",
+        :trace_points => @trace_points, :possible_points => @possible_points, :count => @possible_points) %>
+</p>