Edit button in teasers
The edit function is usually provided in teasers with contextual links. 

Activate the optional core module, and when the teaser is displayed, a contextual links icon will be displayed at the upper right corner of the rendered teaser.