Sha256: 40ccd33e026df009a37683dfcb0d7a2402e34a53318c43d2d087ae8a024cd312

Contents?: true

Size: 1.52 KB

Versions: 62

Compression:

Stored size: 1.52 KB

Contents

%ul.nav.nav-tabs{role: 'tablist'}
  %li.nav-item
    = link_to(EgovUtils::User.model_name.human(count: :other), '#users_container', id: 'users_tab', class: 'nav-link active', 'data-toggle'=>'tab', 'aria-controls'=>'users_container')
  %li.nav-item
    = link_to(EgovUtils::Group.model_name.human(count: :other), '#groups_container', id: 'groups_tab', class: 'nav-link', 'data-toggle'=>'tab', 'aria-controls'=>'groups_container')
  %li.nav-item.dropdown
    %a.nav-link.dropdown-toggle{'data-toggle'=>'dropdown', 'href'=>'#', 'role'=>'button'}
      = t('label_new')
    .dropdown-menu
      = link_to(t('label_new'), '#create', id: 'create_tab', class: 'dropdown-item', 'data-toggle'=>'tab', 'aria-controls'=>'create')
      = link_to(t('label_ldap'), '#create_ldap', id: 'create_tab', class: 'dropdown-item', 'data-toggle'=>'tab', 'aria-controls'=>'create_ldap')

.tab-content
  #users_container.tab-pane.fade.show.active{role: 'tabpanel', 'aria-labelledby'=>'users_tab'}
    = render 'egov_utils/users/users_tab', users: @users
  #groups_container.tab-pane.fade{role: 'tabpanel', 'aria-labelledby'=>'groups_tab'}
    = render 'egov_utils/groups/groups_tab', groups: @groups
  #create_ldap.tab-pane.fade{role: 'tabpanel', 'aria-labelledby'=>'create_tab'}
    %h3= t('label_ldap')
    = render 'egov_utils/users/ldap_search'
  #create.tab-pane.fade{role: 'tabpanel', 'aria-labelledby'=>'create_tab'}
    %h3= t('label_new')
    = bootstrap_form_for(@new_user) do |f|
      = render 'egov_utils/users/form', form: f
      .form-actions
        = f.submit

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
egov_utils-1.1.1 app/views/egov_utils/users/index.html.haml
egov_utils-1.1.0 app/views/egov_utils/users/index.html.haml
egov_utils-1.0.3 app/views/egov_utils/users/index.html.haml
egov_utils-1.0.2 app/views/egov_utils/users/index.html.haml
egov_utils-1.0.1 app/views/egov_utils/users/index.html.haml
egov_utils-1.0.0 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.5 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.4 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.3 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.2 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.1 app/views/egov_utils/users/index.html.haml
egov_utils-0.7.0 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.5 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.4 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.3 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.2 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.1 app/views/egov_utils/users/index.html.haml
egov_utils-0.6.0 app/views/egov_utils/users/index.html.haml
egov_utils-0.5.2 app/views/egov_utils/users/index.html.haml
egov_utils-0.5.1 app/views/egov_utils/users/index.html.haml