mail.rhtml 878 Bytes
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  </head>
  <body>
    <p><%= _('This message was sent by %{sender} to %{target} on %{environment}.') %
    {:sender => @name, :target => @target, :environment => @environment} %></p>
    <%= _('Information about the user who sent this message:')%>
    <ul>
      <li><%= content_tag('b', _('Name')+': ') + @name.to_s %></li>
      <li><%= content_tag('b', _('Email')+': ') + @email.to_s %></li>
      <% if @city || @state %>
        <li><%= content_tag('b', _('City and state')+': ') + (@city || '?')+'/'+(@state || '?') %></li>
      <% end %>
    </ul>
    <hr/>
    <%= content_tag('b', _('Message:')) %>
    <p><%= word_wrap(@message) %></p>

    --<br/>
    <%= _('Greetings,') %><br/>
    <%= _('%s team.') % @environment %><br/>
    <%= @url %>
  </body>
</html>