Fix modal back arrow issue [SCI-9489]

This commit is contained in:
Giga Chubinidze 2023-10-16 16:25:31 +04:00
parent 0a5686d9bc
commit b267c46865

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| %>