title: Rails: ERROR: compiling partial haml file
body: <p>I'm getting the following error on the rails server when I press my 'new task' button on my app:</p>
  
  <pre><code>Processing by TasksController#new as JS
  ERROR: compiling _app_views_tasks__task_form_html_haml__3289363938348847619_70231363971640 RAISED /app/views/tasks/_task_form.html.haml:4: syntax error, unexpected ')'
  ));}\n&lt;/div&gt;\n&lt;div class='modal-body'&gt;\n  #{
   ^
  /app/views/tasks/_task_form.html.haml:8: unknown regexp options - dv
  /app/views/tasks/_task_form.html.haml:8: syntax error, unexpected $undefined
  ));}\n&lt;/div&gt;\n&lt;div class='modal-footer'&gt;\n  #{
               ^
  /app/views/tasks/_task_form.html.haml:8: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
  ));}\n&lt;/div&gt;\n&lt;div class='modal-footer'&gt;\n  #{
                          ^
  /app/views/tasks/_task_form.html.haml:8: syntax error, unexpected $undefined
  ));}\n&lt;/div&gt;\n&lt;div class='modal-footer'&gt;\n  #{
                                           ^
  /app/views/tasks/_task_form.html.haml:10: syntax error, unexpected '}', expecting keyword_end
  ));}\n&lt;/div&gt;\n", -1, false);::Ham...
      ^
  </code></pre>
  
  <p>Below is the code on <code>_task_form_html_haml</code>:</p>
  
  <pre><code>.modal-header
      %h1 New Task
      = simple_form_for task, class: 'clearfix' do |f|
  .modal-body
      = f.input :title
      = f.input :note
      = f.input :completed
  .modal-footer
      = f.submit 'Save', class: 'btn btn-primary'
  </code></pre>
  
  <p>I've tried to find out more about compiling errors, partials, haml but have had no luck so far. Can anyone point me in the right direction?</p>