Merge pull request #8503 from tchak/fix-input-id
fix(morph): ids should not start with numbers
This commit is contained in:
commit
7b5aad5f47
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||||
|
|
Loading…
Add table
Reference in a new issue