ask/app/views/asks/email.html.erb

36 lines
938 B
Plaintext
Raw Normal View History

2014-10-02 06:00:35 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h1><%= @data['title'] %></h1>
<table>
<tr>
<td><%= AskQuestion.human_attribute_name(:name) %></td>
<td><%= @data['name'] %></td>
</tr>
<tr>
<td><%= AskQuestion.human_attribute_name(:identity) %></td>
<td><%= @data['identity'] %></td>
</tr>
<tr>
<td><%= AskQuestion.human_attribute_name(:mail) %></td>
<td><%= @data['mail'] %></td>
</tr>
<tr>
<td><%= AskQuestion.human_attribute_name(:phone) %></td>
<td><%= @data['phone'] %></td>
</tr>
<tr>
<td><%= AskQuestion.human_attribute_name(:fax) %></td>
<td><%= @data['fax'] %></td>
</tr>
<tr>
<td><%= AskQuestion.human_attribute_name(:content) %></td>
<td><%= @data['content'] %></td>
</tr>
</table>
<p>此為系統自動發信,請勿直接回覆</p>
</body>
</html>