Merge pull request #8503 from tchak/fix-input-id

fix(morph): ids should not start with numbers
This commit is contained in:
Colin Darie 2023-01-26 11:12:40 +01:00 committed by GitHub
commit 7b5aad5f47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,7 +224,7 @@ class Champ < ApplicationRecord
private private
def html_id def html_id
"#{stable_id}-#{id}" "champ-#{stable_id}-#{id}"
end end
def needs_dossier_id? def needs_dossier_id?