Merge pull request from G-Chubinidze/gc_SCI_9489_v2

Fix modal back arrow issue [SCI-9489]
This commit is contained in:
Martin Artnik 2023-10-16 14:26:40 +02:00 committed by GitHub
commit 606089a2c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,10 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="sn-icon sn-icon-close"></i></button>
<h4 class="modal-title">
<%= link_to assignable_path, remote: true, class: 'pull-left spacer', data: { action: 'swap-remote-container', target: '#user_assignments_modal' } do %>
<i class="fas fa-arrow-right"></i>
<% end %>
<%= t '.title', resource_name: assignable.name %>
<%= link_to assignable_path, remote: true, class: 'pull-left mr-2', data: { action: 'swap-remote-container', target: '#user_assignments_modal' } do %>
<i class="fas fa-arrow-left"></i>
<% end %>
</h4>
</div>
<%= form_with(url: create_path, method: :post, html: { id: 'new-user-assignment-form', data: { remote: true, object_type: assignable.class.to_s.downcase } }) do |f| %>