Sha256: d07973b3e8db3e7b090282fae229527e309e9bf043c03de6fa390aab2f7972cc

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

- AdminAbility::PERMISSIONS.each do |permissions|
  - if permissions.is_a? String
    = render 'edit.field_type_boolean', :name => "#{permissions}_permission", :f => f
  - elsif permissions.is_a? Array
    = render 'edit.field_type_item', :name => "#{permissions[0]}_permissions", :select_options => permissions[1], :f => f

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
releaf-0.1.2 app/views/releaf/roles/_edit.field.permissions.html.haml