1
我是haml的新手,這是我第一次使用它。我在Haml有一個表單來創建標籤。我得到一個SyntaxError at/images/new語法錯誤,意外tSTRING_DEND,期待')'
Syntax error: unexpected tString_DEND expecting ')'.
unexpected tIDENTIFIER, expecting ')'
haml_temp = f.content_tag :div, "", class: "container_button" do
線產生的錯誤是:
= f.text_area :tag_list, label: "Tags (optional)", help: raw("All tags .<br>We do this to ensure..."), input_html:{data:{placeholder: "Enter tags", saved: f.object.tags.map{|t|{id: t.name, name:t.name}}.to_json}, url: autocomplete_tags_path}, class: 'tagselect'}
能否請你幫忙嗎?謝謝