Sha256: 4a72504173450a18b7eaea6cc7b615959d2d8b103305eec016997b13f3e66880

Contents?: true

Size: 601 Bytes

Versions: 11

Compression:

Stored size: 601 Bytes

Contents

<div id="permissions">
    <%= f.association :permissions,
                      collection: Cms::Permission.order(:name),
                      as: :check_boxes,
                      label: 'Global Permissions',
                      label_method: lambda { |permission| "#{permission.full_name} (#{permission.description})"},
                      :input_html => { :class => "check_uncheck" }
                      # Note: Check/uncheck only works once, and was not broken by this refactoring.
    %>
  <div class="check_uncheck">
    <%= check_uncheck_tag 'input.check_uncheck' %>
  </div>
</div>

Version data entries

11 entries across 11 versions & 2 rubygems

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