Adding an edit button to a record summary

Adding an edit button to a record summary

As the title suggests, I would like to add an 'edit' button to a record summary that would immediately put me in the edit page for that record, without having to close the record summary and find the record via the list view.

Can this be done?