                 else
                     error.insertAfter element
                 return
-        
+                
         $("#add").submit (e) ->
           url = "/api/issues"
           console.log $("#add").serialize()

            success: (data) ->
              #$("#projects-row").append(generateProjectCard(data.name, data.description, '#', '#', '#'))
              $("#swimlane_" + data.status_id).append($("<li class = 'ui-state-default'>").append(generateIssueCard(data.name,data.description,data.category,data.story_points,data.id)))
              $("#addModal").modal('close');
              return
            error: (req, msg, stat) ->
              console.log(req)

              # $("#errorMsg").html(errorsHTML)
              return
          e.preventDefault()
          return
        return
this.app.swimlanes = new SwimlanesController