Sha256: bd1077f1eda7968f629f5a3b4a9f28e89326546f28ca3134c247e7af63e327d4
Contents?: true
Size: 587 Bytes
Versions: 2
Compression:
Stored size: 587 Bytes
Contents
%table#groups.table %thead %tr %th= EgovUtils::Group.human_attribute_name('name') %th= EgovUtils::Group.human_attribute_name('provider') %th= EgovUtils::Group.human_attribute_name('roles') %tbody - groups.each do |group| %tr %td= group.name %td= group.provider - if can?(:manage, group) %td.roles{data: {roles: group.roles, id: group.id}}= group.roles.join(', ') - else %td :javascript $(function(){ $('#groups tbody').roles({ url: '#{roles_path(entity_class: 'EgovUtils::Group')}' }); });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
egov_utils-0.1.37 | app/views/egov_utils/groups/_groups_tab.html.haml |
egov_utils-0.1.36 | app/views/egov_utils/groups/_groups_tab.html.haml |