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