Replace edit button with edit(pencil) icon in edit template