title: ruby haml don't get the results I want (beginner)
body: <p>I'm struggling with haml not injecting the content at the right place, here is part of the haml :</p>
  
  <pre><code>%div.form-group{:id =&gt; 'container'}
  - if !@data.nil?
    %p= t('users.data_name')
    = link_to t('users.delete'), 'javascript:void(0)', :class =&gt; 'delete', :data =&gt; {:id =&gt; @data.id}
    %div.holder.thick
      = image_tag @data.path
  - else
    = link_to t('users.upload'), 'javascript:void(0)', :class =&gt; 'btn btn-large'
    %div.holder
      = image_tag '/assets/missing_image.png'
  </code></pre>
  
  <p>The problem is that the <code>holder</code> or <code>holder thick</code> are not inside my container but outside. Why is this? What am I not aligning properly?</p>