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

Version Path
effective_pages-3.4.4 app/views/admin/pages/_form_access.html.haml
effective_pages-3.4.3 app/views/admin/pages/_form_access.html.haml
effective_pages-3.4.2 app/views/admin/pages/_form_access.html.haml
effective_pages-3.4.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.4.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.3.2 app/views/admin/pages/_form_access.html.haml
effective_pages-3.3.1 app/views/admin/pages/_form_access.html.haml
effective_pages-3.3.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.2.0 app/views/admin/pages/_form_access.html.haml
effective_pages-3.1.1 app/views/admin/pages/_form_access.html.haml