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

Version Path
effective_pages-3.14.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.14.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.5 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.4 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.3 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.2 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.13.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.12.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.11.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.10.3 app/views/admin/pages/_form_access.html.haml
effective_pages-3.10.2 app/views/admin/pages/_form_access.html.haml
effective_pages-3.10.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.10.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.9.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.8.4 app/views/admin/pages/_form_access.html.haml
effective_pages-3.8.3 app/views/admin/pages/_form_access.html.haml
effective_pages-3.8.2 app/views/admin/pages/_form_access.html.haml
effective_pages-3.8.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.8.0 app/views/admin/pages/_form_access.html.haml