Skip to content

Commit

Permalink
these things are safe to RAW so they don't show up all horky, e.g.: &…
Browse files Browse the repository at this point in the history
…quot;
  • Loading branch information
joemsak committed Jul 13, 2011
1 parent 19cf508 commit 974d548
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/views/inquiry_mailer/confirmation.html.erb
@@ -1 +1 @@
<%= InquirySetting.confirmation_message(Globalize.locale).gsub("%name%", @inquiry.name) %>
<%=raw InquirySetting.confirmation_message(Globalize.locale).gsub("%name%", @inquiry.name) %>
20 changes: 10 additions & 10 deletions app/views/inquiry_mailer/notification.html.erb
@@ -1,18 +1,18 @@
<%= t('.greeting') %>,
<%=raw t('.greeting') %>,

<%= t('.you_recieved_new_inquiry') %>
<%=raw t('.you_recieved_new_inquiry') %>
<%= t('.inquiry_starts') %>
<%=raw t('.inquiry_starts') %>
<%= t('.from') %>: <%= @inquiry.name %>
<%= t('.email') %>: <%= @inquiry.email %>
<%= t('.phone') %>: <%= @inquiry.phone %>
<%= t('.message') %>:
<%=raw t('.from') %>: <%= @inquiry.name %>
<%=raw t('.email') %>: <%= @inquiry.email %>
<%=raw t('.phone') %>: <%= @inquiry.phone %>
<%=raw t('.message') %>:
<%=simple_format strip_tags(@inquiry.message) %>
<%= t('.inquiry_ends') %>
<%=raw t('.inquiry_ends') %>
<%= t('.closing_line') %>,
<%= RefinerySetting[:site_name] %>
<%=raw t('.closing_line') %>,
<%=raw RefinerySetting[:site_name] %>
<%=raw t('.ps') %>

0 comments on commit 974d548

Please sign in to comment.