]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/_message_body.html.erb
Use _html suffix to avoid using raw when displaying translated strings
[rails.git] / app / views / notifier / _message_body.html.erb
index f8a4e262127b06f86ba801bffa2ba801933ffd10..d572fb9d0a79e92e7486b56218d63792295b0116 100644 (file)
@@ -14,7 +14,7 @@
             :target => "_blank", :rel => "noopener"
           ) %>
     </td>
             :target => "_blank", :rel => "noopener"
           ) %>
     </td>
-    <td style="text-align: left; vertical-align: top; padding-right: 10px; width: 100%">
+    <td style="text-align: <%= style_left %>; vertical-align: top; padding-<%= style_right %>: 10px; width: 100%">
       <%= body %>
     </td>
   </tr>
       <%= body %>
     </td>
   </tr>