Use shared system spec helper methods (#31784)
This commit is contained in:
parent
82161d8ae5
commit
c6a0768fe5
5 changed files with 7 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue