template tag takes_context to nenable csrf_token for ajax