[#72856] Add semantic identifier support to "Copy Project"

This commit is contained in:
Tomas Hykel
2026-03-12 21:53:18 +01:00
parent a30973cdc7
commit db6cc8ba22
@@ -28,7 +28,7 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
<%=
component_wrapper do
component_wrapper(data: identifier_suggestion_data) do
settings_primer_form_with(model: target_project, url: copy_project_path(source_project), method: :post) do |f|
flex_layout do |container|
container.with_row(mb: 3) do
@@ -41,6 +41,7 @@ See COPYRIGHT and LICENSE files for more details.
render(
Primer::Forms::FormList.new(
Projects::Settings::NameForm.new(f),
Projects::Settings::EditableIdentifierForm.new(f),
Projects::Settings::RelationsForm.new(f, invisible: params[:parent_id].present?),
Projects::Settings::CustomFieldsForm.new(f)
)