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

431 B
Raw Blame
<%
  the_form = Class.new(ApplicationForm) do
    form do |f|
      f.rich_text_area(
        name: :description,
        label: WorkPackage.human_attribute_name(:description),
        rich_text_options: {
          editorType: "constrained"
        }
      )
    end
  end

  model = WorkPackage.new
%>

<%= primer_form_with(
      model:,
      url: "/abc",
      id: "asdf"
    ) do |f|
      render(the_form.new(f))
    end %>