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

obey erb_lint

as-opdc3ab6398745
diff --git a/app/components/work_packages/exports/pdf/gantt/export_settings_component.html.erb b/app/components/work_packages/exports/pdf/gantt/export_settings_component.html.erb
index 5ee4674081a..5fbfbf17a05 100644
--- a/app/components/work_packages/exports/pdf/gantt/export_settings_component.html.erb
+++ b/app/components/work_packages/exports/pdf/gantt/export_settings_component.html.erb
@@ -2,17 +2,17 @@
<% gantt_selects.each_with_index do |entry, index| %>
<% container.with_row(mt: index == 0 ? 0 : 3) do %>
<%= render(Primer::Alpha::Select.new(
- name: entry[:name],
- label: entry[:label],
- caption: entry[:caption],
- size: :medium,
- input_width: :small)
- ) do |component|
- selected = entry[:options].find { |e| e[:default] }[:value]
- entry[:options].each do |entry|
- component.option(label: entry[:label], value: entry[:value], selected: selected == entry[:value])
- end
- end %>
+ name: entry[:name],
+ label: entry[:label],
+ caption: entry[:caption],
+ size: :medium,
+ input_width: :small
+ )) do |component|
+ selected = entry[:options].find { |e| e[:default] }[:value]
+ entry[:options].each do |entry|
+ component.option(label: entry[:label], value: entry[:value], selected: selected == entry[:value])
+ end
+ end %>
<% end %>
<% end %>
<% end %>