Sha256: f44d64c6cbe2106d756816d88d7232551fbd1934835acc7721148854a0a3954f

Contents?: true

Size: 290 Bytes

Versions: 6

Compression:

Stored size: 290 Bytes

Contents

= hidden_field_tag "role[right_ids][]"
%table
  - rights.in_groups_of(4,false).each do |right_group|
    %tr
      - right_group.each do |right|
        %td.content
          = check_box_tag "role[right_ids][]", right.id, (role ? role.rights.include?(right) : false)
          = right.name

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 app/views/admin/roles/_form_rights.html.haml
forgeos_core-1.9.5.rc1 app/views/admin/roles/_form_rights.html.haml
forgeos_core-1.9.4 app/views/admin/roles/_form_rights.html.haml
forgeos_core-1.9.3 app/views/admin/roles/_form_rights.html.haml
forgeos_core-1.9.2 app/views/admin/roles/_form_rights.html.haml
forgeos_core-1.9.1 app/views/admin/roles/_form_rights.html.haml