Sha256: 3b9c0c210851de7e096434a2da01f2ffab8a618a93cdb892e2070aa3f8df24cc
Contents?: true
Size: 418 Bytes
Versions: 10
Compression:
Stored size: 418 Bytes
Contents
= effective_form_with(model: page, url: page.persisted? ? effective_pages.admin_page_path(page.id) : effective_pages.admin_pages_path) 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
10 entries across 10 versions & 1 rubygems