mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
- removed mode variable - reverted html template accordingly - added a more specific helper - fixed some short variable names
12 lines
171 B
Ruby
12 lines
171 B
Ruby
module Admin
|
|
module EnterprisesHelper
|
|
def add_check_if_single(count)
|
|
if count == 1
|
|
{ checked: true }
|
|
else
|
|
{}
|
|
end
|
|
end
|
|
end
|
|
end
|