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
Replace opce-attribute-help-text: Project members
Alexander Brandon Colesc90e1fe5f880
diff --git a/app/views/members/_member_form.html.erb b/app/views/members/_member_form.html.erbindex 23f86eaf40f..67c91215a32 100644--- a/app/views/members/_member_form.html.erb+++ b/app/views/members/_member_form.html.erb@@ -70,14 +70,15 @@ See COPYRIGHT and LICENSE files for more details.</div><div class="grid-content medium-8 small-12 -flex -with-button"><div class="form--field">- <%= styled_label_tag :member_role_ids do %>- <%= content_tag :span, t(:label_role_search) %>- <%= angular_component_tag "opce-attribute-help-text",- inputs: {- attribute: "members",- attributeScope: "Project"- } %>- <% end %>+ <%= styled_label_tag :member_role_ids, title: t(:label_role_search) do+ render OpenProject::Common::AttributeLabelComponent.new(+ attribute: "members",+ model: Project,+ tag: nil+ ) do+ render(Primer::Beta::Text.new) { t(:label_role_search) }+ end+ end %><div class="form--field-container"><div class="form--select-container -auto"><% options = roles.collect { |obj| [obj.name, obj.id] } %>diff --git a/frontend/src/global_styles/content/_forms.sass b/frontend/src/global_styles/content/_forms.sassindex 9fb3f62243a..04cfdbadb3f 100644--- a/frontend/src/global_styles/content/_forms.sass+++ b/frontend/src/global_styles/content/_forms.sass@@ -423,6 +423,9 @@ fieldset.form--fieldset.form--label.-error &color: var(--content-form-error-color)+ &:has(.op-attribute-help-text)+ @extend .op-attribute-label+.form--field-container@include grid-content(10)// override max-width set by including grid-content