TIL: Blocking Password App Autocomplete on Form Fields

I wanted to disable password managers, particularly 1Password, from interacting with a username field in Contact Me. It was pretty simple in the end:

<%= form.text_field :username, "data-lpignore": true, "data-1p-ignore": true %>

Reference: 1Password, Lastpass.