‘如果為空值的話會顯示錯誤’
This commit is contained in:
parent
cf1888272e
commit
103f8efe56
|
@ -23,7 +23,7 @@
|
||||||
<%= number_field_tag nil,annc.sort_number,class: 'sort_number',step: 1 %>
|
<%= number_field_tag nil,annc.sort_number,class: 'sort_number',step: 1 %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= annc.title.html_safe %>
|
<%= annc.title.to_s.html_safe %>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= format_value annc.postdate %>
|
<%= format_value annc.postdate %>
|
||||||
|
@ -32,4 +32,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue