‘如果為空值的話會顯示錯誤’

This commit is contained in:
User 2025-02-27 10:56:31 +08:00
parent cf1888272e
commit 103f8efe56
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
<%= number_field_tag nil,annc.sort_number,class: 'sort_number',step: 1 %>
</td>
<td>
<%= annc.title.html_safe %>
<%= annc.title.to_s.html_safe %>
</td>
<td>
<%= format_value annc.postdate %>