Sha256: b4dbb87043b8aba32ab8352c4d953e6e5d71ebd9fe780ba490aae35ec6e8f114

Contents?: true

Size: 518 Bytes

Versions: 6

Compression:

Stored size: 518 Bytes

Contents

%fieldset.top_bordered
  %legend Access Rights
  #rights.float_left{:style => 'overflow:visible'}
  = f.hm_empty_array :right_ids
  - Right.by_groups.each_pair do |group, rights|
    %h2= group.titleize
    - rights.in_groups(3).each do |rights|
      .float_left{:style => 'width: 30%'}
        - for right in rights
          - if right
            %label[right]
              = f.hm_check_box :right_ids, right.id
              = truncate_with_title(right.sensible_name, :length => 50)
              %br
    .clear

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
right_on-1.0.0 views/_edit_rights.html.haml
right_on-0.4.1 views/_edit_rights.html.haml
right_on-0.4.0 views/_edit_rights.html.haml
right_on-0.3.0 views/_edit_rights.html.haml
right_on-0.2.0 views/_edit_rights.html.haml
right_on-0.1.0 views/_edit_rights.html.haml