Sha256: c1346de9f73e5fbbb7ff0b84e74b29caed73230318a7ad38123b479c37eea811

Contents?: true

Size: 552 Bytes

Versions: 11

Compression:

Stored size: 552 Bytes

Contents

<%= f.association :sections,
                  collection: Cms::Section.order(:path),
                  as: :check_boxes,
                  label: 'Section Permissions',
                  label_method: lambda { |s| "#{s.name} (Path: #{s.path})"},
                  hint: "What sections should group members be allowed to <span id='section-action'>#{@group.cms_access? ? 'edit' : 'view'}</span>?".html_safe,
                  :input_html => { :class => "section_ids" }
%>
<div class="check_uncheck">
<%= check_uncheck_tag 'input.section_ids' %>
</div>

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.3.3 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.3.2 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.3.1 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.3 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.2 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.1.1 app/views/cms/groups/_sections.html.erb
browsercms-artirix-4.0.0.rc1.art4 app/views/cms/groups/_sections.html.erb
browsercms-4.0.0.rc1 app/views/cms/groups/_sections.html.erb
browsercms-4.0.0.beta app/views/cms/groups/_sections.html.erb
browsercms-4.0.0.alpha app/views/cms/groups/_sections.html.erb