40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
</head>
|
||
<body>
|
||
<!-- <h1><%= @data['title'] %></h1> -->
|
||
<table>
|
||
<tr>
|
||
<th><%= AskQuestion.human_attribute_name(:name) %>:</th>
|
||
<td><%= @data['name'] %></td>
|
||
</tr>
|
||
<!-- <tr>
|
||
<th><%= AskQuestion.human_attribute_name(:identity) %>:</th>
|
||
<td>
|
||
<% Tag.where({:id => @data['identity']}).each do |tag| %>
|
||
<%= tag.name %>
|
||
<% end %>
|
||
</td>
|
||
</tr> -->
|
||
<tr>
|
||
<th><%= AskQuestion.human_attribute_name(:mail) %>:</th>
|
||
<td><%= @data['mail'] %></td>
|
||
</tr>
|
||
<tr>
|
||
<th><%= AskQuestion.human_attribute_name(:phone) %>:</th>
|
||
<td><%= @data['phone'] %></td>
|
||
</tr>
|
||
<!-- <tr>
|
||
<th><%= AskQuestion.human_attribute_name(:fax) %>:</th>
|
||
<td><%= @data['fax'] %></td>
|
||
</tr> -->
|
||
<tr>
|
||
<th><%= AskQuestion.human_attribute_name(:name) %>:</th>
|
||
<td><%= @data['name'].gsub(/[(\n)(\r)]/, "\n" => "<br/>", "\r" => "" ).html_safe %></td>
|
||
</tr>
|
||
</table>
|
||
<p>此為系統自動發信,請勿直接回覆</p>
|
||
</body>
|
||
</html> |