下面的代码unbalanced bracket error
在第 4 行给了我
%ul
- @sentences.each do |sentence|
%li
%a{id:"s-#{sentence.id}",
href:"/sentence/#{sentence.id}",
'data-type' => 'text',
'data-url' => "/sentence/#{sentence.id}",
'data-toggle' => 'manual'
}= sentence.content
%a{href:'#'}
%i.icon-pencil
Haml::SyntaxError at /user/1/sentence
Unbalanced brackets.
file: sentences.haml location: nil line: 4
任何的想法?