0
0
Fork 0

Use shared system spec helper methods (#31784)

This commit is contained in:
Matt Jankowski 2024-09-09 04:01:26 -04:00 committed by GitHub
parent 82161d8ae5
commit c6a0768fe5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 15 deletions

View file

@ -16,4 +16,8 @@ module SystemHelpers
def form_label(key)
I18n.t key, scope: 'simple_form.labels'
end
def css_id(record)
"##{dom_id(record)}"
end
end