OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
feat[Op#54749]: organise form as horizontal
Kabiru Mwenjac2c533be4468
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erbindex 83e3df04f21..f1d487eaa36 100644--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/new_project_mapping_component.html.erb@@ -2,24 +2,26 @@component_wrapper donew_project_mapping_form = Class.new(ApplicationForm) doform do |f|- f.project_autocompleter(- name: :id,- label: Project.model_name.human,- visually_hide_label: true,- autocomplete_options: {- openDirectly: false,- focusDirectly: false,- dropdownPosition: 'bottom',- disabledProjects: projects_with_custom_field_mapping,- inputName: 'project_custom_field_project_mapping[project_id]'- }- )+ f.group(layout: :horizontal) do |f_group|+ f_group.project_autocompleter(+ name: :id,+ label: Project.model_name.human,+ visually_hide_label: true,+ autocomplete_options: {+ openDirectly: false,+ focusDirectly: false,+ dropdownPosition: 'bottom',+ disabledProjects: projects_with_custom_field_mapping,+ inputName: 'project_custom_field_project_mapping[project_id]'+ }+ )- f.check_box(- name: :include_sub_projects,- label: I18n.t("projects.settings.project_custom_fields.new_project_mapping_form.include_sub_projects"),- checked: false- )+ f_group.check_box(+ name: :include_sub_projects,+ label: I18n.t("projects.settings.project_custom_fields.new_project_mapping_form.include_sub_projects"),+ checked: false+ )+ endenddef initialize(project_custom_field:)