]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/gpx_failure.html.erb
Merge remote-tracking branch 'upstream/pull/2228'
[rails.git] / app / views / notifier / gpx_failure.html.erb
index d1319acbd1286bff9e0f106aee025481c3747a50..3ce26de8c7ae0a541efc55c7bbf63af1f890f41f 100644 (file)
@@ -1,18 +1,16 @@
-<% 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.failure.failed_to_import' %>
-  </p>
+<p>
+  <%= render :partial => "gpx_description" %>
+  <%= t "notifier.gpx_notification.failure.failed_to_import" %>
+</p>
 
-  <blockquote>
-    <%= @error %>
-  </blockquote>
+<blockquote>
+  <%= @error %>
+</blockquote>
 
-  <p>
-    <%= t'notifier.gpx_notification.failure.more_info_1' %>
-    <%= t'notifier.gpx_notification.failure.more_info_2' %>
-    <%= t'notifier.gpx_notification.failure.import_failures_url' %>
-  </p>
-<% end %>
+<p>
+  <%= t "notifier.gpx_notification.failure.more_info_1" %>
+  <%= t "notifier.gpx_notification.failure.more_info_2" %>
+  <%= t "notifier.gpx_notification.failure.import_failures_url" %>
+</p>