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

894 B
Raw Blame
<% page_title = t("saml.providers.label_edit", name: @provider.display_name) %>

<% html_title(t(:label_administration), page_title) -%>

<%= render(Primer::OpenProject::PageHeader.new) do |header| %>
  <% header.with_title { @provider.display_name } %>

  <% header.with_breadcrumbs(
       [{ href: admin_index_path, text: t("label_administration") },
        { href: saml_providers_path, text: t("saml.providers.plural") },
        @provider.display_name]
     ) %>

  <% header.with_description do %>
    <%= link_translate(
          "saml.instructions.documentation_link",
          links: {
            docs_url: %i[sysadmin_docs saml]
          },
          external: true
        ) %>
  <% end %>
<% end %>

<%= render(
      Saml::Providers::ViewComponent.new(
        @provider,
        view_mode: :edit,
        new_mode: @new_mode,
        edit_state: @edit_state
      )
    ) %>