Fix repository creation modal [SCI-9045] (#5971)

This commit is contained in:
Alex Kriuchykhin 2023-08-11 13:44:26 +02:00 committed by GitHub
parent f8a3640c4c
commit a3bc894df8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
<div class="modal" id="create-repo-modal" tabindex="-1" role="dialog" aria-labelledby="create-repo-modal-label">
<%= form_with url: [current_team, @repository], remote: :true do |f| %>
<%= form_with model: @repository, url: repositories_path, html: { data: { remote: true } } do |f| %>
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">