Render the links using partial so we can do the appropriate rendering