title: ruby on rails identifier error 1
body: <p>Everytime i run this code i get an error can't find what i had did wrong it said something about synatic error tidentifier, expecting keyword_do or '{' or '('. Anyone has any suggestion on what it could be?</p>
  
  <hr>
  
  <p>_form.html.haml</p>
  
  <pre><code> = simple_form_for @pin, html: { multipart: true } do |f|
      = if @pin.errors.any?
      #errors
      %h2
      = pluralize(@pin.errors.count, "error")
      prevented this pin from saving
      %ul
      - @pin.errors.full_messages.each do |msg|
          %li = msg
  
          .form-group
          = f.input :title, input_html: { class: 'form-control' }
  
          .form-group
          = f.input :description, input_html: { class: 'form-control' }
  
          = f.button :submit, class: "btn btn-primary"
  </code></pre>