adds post on partials with ajax and rails