Sha256: e54fef5b0ba27126897c16f559abad585c16e0b30ca499bb08cf69b90df73c4c

Contents?: true

Size: 605 Bytes

Versions: 27

Compression:

Stored size: 605 Bytes

Contents

= bootstrap_form_for(EgovUtils::Group.new) do |f|
  = render 'egov_utils/groups/form', form: f
  .form-actions
    = f.submit

%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= link_to(group.name, group)
        %td= group.provider
        - if can?(:manage, group)
          %td.roles{data: {roles: group.roles, id: group.id}}= group.roles.join(', ')
        - else
          %td

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
egov_utils-1.5.0.alpha15 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha14 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha13 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha12 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha11 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha10 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha9 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha8 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha7 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha6 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha5 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha4 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.4.5 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.4.4 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha3 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha2 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.5.0.alpha1 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.4.3 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.4.2 app/views/egov_utils/groups/_groups_tab.html.haml
egov_utils-1.4.1 app/views/egov_utils/groups/_groups_tab.html.haml