2
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
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