ask/app/views/admin/asks/_print_format_explain.html.erb

126 lines
3.0 KiB
Plaintext
Raw Normal View History

2020-07-04 13:36:32 +00:00
<% trans = 'mongoid.attributes.ask_question' %>
<div style="font-size: 1.5em;">
<%= t('ask.explanation') %>:
<br>
{ask_time} -> <%= t('ask.ask_time') %>
<br>
{title} -> <%= t('title') %>
<br>
{category} -> <%= t("#{trans}.ask_category_id") %>
<br>
{name} -> <%= t("#{trans}.name") %>
<br>
{name|mask} -> <%= t("ask.name_mask") %>
<br>
{sex} -> <%= t("#{trans}.sex") %>
(<%= t("#{trans}.male") %>/<%= t("#{trans}.female") %>)
<br>
{mail} -> <%= t("#{trans}.mail") %>
<br>
{phone} -> <%= t("#{trans}.phone") %>
<br>
{appointment} -> <%= t("#{trans}.appointment") %>
<br>
{agree_show} -> <%= t("#{trans}.agree_show_explain") %>
<br>
{custom1} -> <%= t("ask.custom1") %>
<br>
{custom2} -> <%= t("ask.custom2") %>
<br>
{custom3} -> <%= t("ask.custom3") %>
<br>
<%= t("ask.and_so_on") %>
<br>
{custom} -><%= t("ask.custom_explain") %>
<br>
{custom|format} -><%= t("ask.custom_format_explain") %>
<br>
{?_title} -> ?<%= t("ask.can_be_filled_with") %>ask_time、title、category、name、sex、mail、phone、appointment、agree_show、custom、custom1、custom2、custom3 ...,<%= t("ask.show_title_trans") %>, <%= t("ask.like") %>{sex_title}-><%= t("#{trans}.sex") %>
<br>
<br>
<%= t("ask.example") %>:
<br>
<%= t("ask.example_explain") %>
<br>
<%= t('ask.print_format') %>:
<br>
<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
<tbody>
<tr>
<td style="text-align: center;"><%= t("ask.example") %></td>
</tr>
</tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
<tbody>
<tr>
<td>{title_title}</td>
<td>{title}</td>
</tr>
<tr>
<td>{category_title}</td>
<td>{category}</td>
</tr>
<tr>
<td>{name_title}</td>
<td>{name}</td>
</tr>
<tr>
<td>{mail_title}</td>
<td>{mail}</td>
</tr>
<tr>
<td>{custom_title}</td>
<td>{custom}</td>
</tr>
<tr>
<td>{custom1_title}</td>
<td>{custom1}</td>
</tr>
</tbody>
</table>
<br>
<br>
<%= t('ask.output_result') %>:
<br>
<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
<tbody>
<tr>
<td style="text-align: center;"><%= t("ask.example") %></td>
</tr>
</tbody>
</table>
<table border="1" cellpadding="1" cellspacing="1" style="width:500px;">
<tbody>
<tr>
<td><%= t('title') %></td>
<td>example</td>
</tr>
<tr>
<td><%= t("#{trans}.ask_category_id") %></td>
<td>測試</td>
</tr>
<tr>
<td><%= t("#{trans}.name") %></td>
<td>工程師1號</td>
</tr>
<tr>
<td><%= t("#{trans}.mail") %></td>
<td>test@rulingcom.com</td>
</tr>
<tr>
<td>test2</td>
<td>b</td>
</tr>
<tr>
<td>test3</td>
<td>c</td>
</tr>
<tr>
<td>test1</td>
<td>a</td>
</tr>
</tbody>
</table>
</div>