Sha256: d6b29f1f53851bb64c63c000929eb6cbef9d13cb1782fa055987956b138c4b97
Contents?: true
Size: 888 Bytes
Versions: 15
Compression:
Stored size: 888 Bytes
Contents
%ul(style="float: left; width: 340px; margin-right: 10px;") %li.header Yes - some = false - @permissions[:write_groups].each do |group_id, name| %li - @write_groups.delete(group_id) - some = true = link_to_function name, "category_permission(#{@category_id}, #{group_id}, 'write', false);" - if some %li = link_to_function "Remove editability for above groups", "category_permission(#{@category_id}, 0, 'write', false);", :class=>"action" %ul(style="float: left; width: 340px; ") %li.header No - some = false - @write_groups.each do |group_id, name| - some = true %li = link_to_function name, "category_permission(#{@category_id}, #{group_id}, 'write', true);" - if some %li = link_to_function "Make editable by above groups".html_safe, "category_permission(#{@category_id}, 0, 'write', true);", :class=>"action"
Version data entries
15 entries across 15 versions & 1 rubygems