public static function render_tourname_inplace_editable(tour $tour) {
        return new \core\output\inplace_editable(
                'tool_usertours',
                'tourname',
                $tour->get_id(),
                true,
                \html_writer::link(
                    $tour->get_view_link(),
                    $tour->get_name()
                ),
                $tour->get_name()
            );
    }