<commit_before>= render partial: 'identity/projects/cloud_admin/shared/choose_scope'

- if @user_roles
  = render partial: 'identity/projects/cloud_admin/shared/project_tabs'
  = simple_form_for :cloud_admin_user_role_assignments, url: plugin('identity').projects_cloud_admin_project_members_path(project:@project.id), method: :put, html: {class: 'role_assignments'} do |f|
    - if current_user.is_allowed?('identity:project_member_create',{})
      .toolbar
        .has-feedback.has-feedback-searchable
          = text_field_tag 'search_users_input', '', class: "form-control", placeholder: 'Name, C/D/I-number, or ID'

        .has-feedback-help
          %a.help-link{href: "#", data: {toggle: "popover", "popover-type": "help-hint", content: "Searches by user name, C/D/I-number, or ID in visible users list only. Entering a search term will automatically start loading the next pages and filter the loaded items using the search term. Emptying the search input field will show all currently loaded items."}}
            %i.fa.fa-question-circle

          .main-buttons
            = link_to 'Assign New Member', plugin('identity').new_projects_cloud_admin_project_member_path(project: @project.id), data: {modal: true}, class: 'btn btn-primary'

    = render partial: 'identity/projects/members/member_list', locals: {user_roles: @user_roles, roles: @roles}
    = f.submit 'Save', class: 'btn btn-primary hidden', data: { disable_with: "Please wait..." }<commit_msg>Fix indentation<commit_after>= render partial: 'identity/projects/cloud_admin/shared/choose_scope'

- if @user_roles
  = render partial: 'identity/projects/cloud_admin/shared/project_tabs'
  = simple_form_for :cloud_admin_user_role_assignments, url: plugin('identity').projects_cloud_admin_project_members_path(project:@project.id), method: :put, html: {class: 'role_assignments'} do |f|
    - if current_user.is_allowed?('identity:project_member_create',{})
      .toolbar
        .has-feedback.has-feedback-searchable
          = text_field_tag 'search_users_input', '', class: "form-control", placeholder: 'Name, C/D/I-number, or ID'

        .has-feedback-help
          %a.help-link{href: "#", data: {toggle: "popover", "popover-type": "help-hint", content: "Searches by user name, C/D/I-number, or ID in visible users list only. Entering a search term will automatically start loading the next pages and filter the loaded items using the search term. Emptying the search input field will show all currently loaded items."}}
            %i.fa.fa-question-circle

        .main-buttons
          = link_to 'Assign New Member', plugin('identity').new_projects_cloud_admin_project_member_path(project: @project.id), data: {modal: true}, class: 'btn btn-primary'

    = render partial: 'identity/projects/members/member_list', locals: {user_roles: @user_roles, roles: @roles}
    = f.submit 'Save', class: 'btn btn-primary hidden', data: { disable_with: "Please wait..." }
{'fraction_non_alphanumeric': 0.1282225237449118, 'fraction_numerical': 0.0, 'mean_word_length': 4.361818181818182, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6893652', 'n_tokens_mistral': 895, 'n_tokens_neox': 880, 'n_words': 233}