Sha256: 1a74050f55ed871c66c15612644d8846feb624dc79c3378903f227deda825546

Contents?: true

Size: 563 Bytes

Versions: 11

Compression:

Stored size: 563 Bytes

Contents

= effective_form_with(model: classified, url: classified.persisted? ? effective_classifieds.admin_classified_path(classified.id) : effective_classifieds.admin_classifieds_path) do |f|
  = f.check_box :authenticate_user, label: 'Yes, the user must be be signed in to view this classified', hint: 'Sign up is required to register for any classified'

  - if EffectiveClassifieds.use_effective_roles
    = f.checks :roles, EffectiveRoles.roles_collection(f.object)

  %p.text-hint
    * leave blank for a regular public classified that anyone can view

  = f.submit

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_classifieds-0.4.0 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.3.0 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.5 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.4 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.3 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.2 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.1 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.2.0 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.1.0 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.0.3 app/views/admin/classifieds/_form_access.html.haml
effective_classifieds-0.0.2 app/views/admin/classifieds/_form_access.html.haml