2014-10-02 06:00:35 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
<!-- <h1><%= @data['title'] %></h1> -->
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
2014-10-23 07:03:21 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:name) %>:</th>
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<td><%= @data['name'] %></td>
|
|
|
|
|
</tr>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
<!-- <tr>
|
2014-10-23 07:03:21 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:identity) %>:</th>
|
|
|
|
|
<td>
|
|
|
|
|
<% Tag.where({:id => @data['identity']}).each do |tag| %>
|
|
|
|
|
<%= tag.name %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
</tr> -->
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<tr>
|
2014-10-23 07:03:21 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:mail) %>:</th>
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<td><%= @data['mail'] %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
2014-10-23 07:03:21 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:phone) %>:</th>
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<td><%= @data['phone'] %></td>
|
|
|
|
|
</tr>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
<!-- <tr>
|
2014-10-23 07:03:21 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:fax) %>:</th>
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<td><%= @data['fax'] %></td>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
</tr> -->
|
2014-10-02 06:00:35 +00:00
|
|
|
|
<tr>
|
2016-11-07 02:08:04 +00:00
|
|
|
|
<th><%= AskQuestion.human_attribute_name(:name) %>:</th>
|
|
|
|
|
<td><%= @data['name'].gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %></td>
|
|
|
|
|
</tr>
|
2014-10-02 06:00:35 +00:00
|
|
|
|
</table>
|
|
|
|
|
<p>此為系統自動發信,請勿直接回覆</p>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|