% if @project.module_enabled? :costs_module %> <%# Only render this partial, if the plugin is enabled for the current project %> <% attributes_array = cost_issues_attributes %> <% (0..(attributes_array.size - 1)).step(2) do |i| %>