Skip to content

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

[#50011] Word "Description" should be higher position in new document page

Dominic Bräunlein456667a21609
diff --git a/modules/documents/app/views/documents/_form.html.erb b/modules/documents/app/views/documents/_form.html.erb
index 6d4644ba77a..a3463979684 100644
--- a/modules/documents/app/views/documents/_form.html.erb
+++ b/modules/documents/app/views/documents/_form.html.erb
@@ -41,6 +41,9 @@ See COPYRIGHT and LICENSE files for more details.
<div class="form--field -visible-overflow">
<%= f.text_area :description,
container_class: '-xxwide',
+ label_options: {
+ class: '-top'
+ },
with_text_formatting: true,
resource: api_v3_document_resource(f.object),
preview_context: preview_context(f.object.project) %>