Sha256: 28c0d1b9ee5edf8a1715b4ed1edb900babdacda290398a5cc42685d07029a51c
Contents?: true
Size: 342 Bytes
Versions: 43
Compression:
Stored size: 342 Bytes
Contents
= effective_form_with(model: [:admin, page], engine: true) do |f| = f.check_box :authenticate_user, label: 'Restrict the page to any signed in user' - if EffectivePages.use_effective_roles = f.checks :roles, EffectiveRoles.roles_collection(f.object), label: 'Restrict the page to any signed in user that has the role:' = f.submit
Version data entries
43 entries across 43 versions & 1 rubygems