以下の部分で、Slim::Parser::SyntaxErrorというエラーがでます。
= f.submit nil, class: 'btn btn-primary'
app/views/tasks/new.html.slim .nav.justify-content-end = link_to '一覧', tasks_path, class: 'nav-link' = form_with model: @task, local: true do |f| .form-group = f.label :name = f.text_field :name, class: 'form-control', id: 'task_name' .form-group = f.label :description = f.text_area :description, rows: 5, class: 'form-control', id: 'task_description' = f.submit nil, class: 'btn btn-primary'
試したこと
bundle update したが直らず。
(参考 http://fumihumi.hatenablog.com/entry/2017/11/03/195145)
どのように対処すべきでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。