Fix search for new access grant [SCI-8196]

This commit is contained in:
Martin Artnik 2023-03-27 12:46:14 +02:00
parent 2bcb9d0639
commit cb21b9f29b

View file

@ -13,10 +13,10 @@
<%= form_with(url: create_path, method: :post, remote: true, html: { id: 'new-user-assignment-form', data: { action: 'replace-form', target: '#user_assignments_modal', object_type: assignable.class.to_s.downcase} }) do |f| %>
<div class="modal-body">
<div class="sci-input-container left-icon">
<%= text_field_tag :search_users, '',
placeholder: t('.find_people_html'),
class: 'sci-input-field new-assignment-user-search',
data: { action: 'filter-list', target: 'new-user-assignment-to-project-form' } %>
<%= text_field_tag :search_users, '',
placeholder: t('.find_people_html'),
class: 'sci-input-field new-assignment-user-search',
data: { action: 'filter-list', target: 'new-user-assignment-form' } %>
<i class="fas fa-search"></i>
</div>
<% if assignable.visibility && assignable.visibility == 'hidden' %>