I'm using the link to delete the record below is the code that I have used
<%= link_to product, method: :delete, data: { confirm: 'Are you sure?' }%>
when I click on the click alert box will open with the values "ok" to proceed and "Canel" to reject. So my question how do I change the "ok" to "Yes" and "cancel" to "reject" in the alert box. Below is the image for the reference