anchor.diff:          p Active keys: #{itemKeys.length}
           - var i = 0
           each item in items
  -          div(id='item:'+item._id)
  +          div(id='collection:'+item._id)
               button.btn.btn-xs.btn-info.edit Edit
               button.btn.btn-xs.btn-danger.delete Delete
               p.item #{item.name}
  
positive.code:         button.btn.btn-xs.btn-primary.new New
          button.btn.btn-xs.btn-primary.clear Clear 
  
        form(action="/collectiondata/new" method="post")
          h4#mode-display Create New Collection
          - var inputs = [['Image', 'text', false], ['Name', 'text', false], ['Description', 'textarea', false], ['Link', 'text', false], ['Status', 'text', false], ['Type', 'text', false]]
          - for(var i = 0; i < inputs.length; i++)
            +createInput(inputs[i][0], inputs[i][1], inputs[i][2])
          .container#Extended
            p Extended
            | True 
            input(type="radio" name="Extended" value="true")
            br
            | False 
            input(type="radio" name="Extended" value="false")
          input(type="hidden" name="mode" value="new" id="mode")
          input.btn.btn-primary(type="submit")
  
      mixin createInput(fieldName, fieldType, multi=false)
  
negative.code:         - if (multi)
            .btn.btn-xs.btn-success.newfield Add
    
      script(type="text/javascript" src="/javascripts/collectionform.js")