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

Fix missing label for="" in Color form

Alexander Brandon Colesa7b8ef66fbbc
diff --git a/app/views/colors/_form.html.erb b/app/views/colors/_form.html.erb
index e0196b43082..e4c19ca15c0 100644
--- a/app/views/colors/_form.html.erb
+++ b/app/views/colors/_form.html.erb
@@ -34,7 +34,7 @@ See COPYRIGHT and LICENSE files for more details.
<%= f.text_field :name, required: true, container_class: "-slim" %>
</div>
<div class="form--field -required">
- <label class="form--label"><%= Color.human_attribute_name(:hexcode) %></label>
+ <label class="form--label" for="color_hexcode"><%= Color.human_attribute_name(:hexcode) %></label>
<span class="form--field-container">
<span class="form--text-field-container -xslim">
<%= text_field_tag "color_hexcode",