Move delete SSH key button into shared partial
Problem
There are multiple pieces of similar code for the SSH key delete buttons in:
-
app/views/profiles/keys/_key.html.haml
-
app/views/profiles/keys/_key_details.html.haml
-
ee/app/views/shared/credentials_inventory/ssh_keys/_ssh_key.html.haml
Proposal
Create a shared partial for the SSH key delete buttons.