]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/no_such_message.html.erb
Use lazy translations where possible
[rails.git] / app / views / message / no_such_message.html.erb
index 6fd52124a40ccd2300c741b998aca87676b3da34..fd3b9075b8fc0132a815380e2e1be61a56fca9f4 100644 (file)
@@ -1,2 +1,5 @@
-<h1><%= t'message.no_such_message.heading' %></h1>
-<p><%= t'message.no_such_message.body' %></p>
+<% content_for :heading do %>
+  <h1><%= t '.heading' %></h1>
+<% end %>
+
+<p><%= t '.body' %></p>