Sha256: 82582823bef8de45b7229de6ed50e7caa639454765c41659ee48dc7af640af79

Contents?: true

Size: 611 Bytes

Versions: 28

Compression:

Stored size: 611 Bytes

Contents

<%=
  render(Primer::OpenProject::PageHeader.new) do |component|
    component.with_title { "Users" }
    component.with_breadcrumbs([{ href: "/foo", text: "Foo" }, { href: "/bar", text: "Bar" }, "Baz"])
  end
%>

<%=
  render(Primer::OpenProject::SubHeader.new) do |component|
    component.with_filter_input(name: "filter", label: "Filter")
    component.with_filter_button do |button|
      button.with_trailing_visual_counter(count: "15")
      "Filter"
    end

    component.with_action_button(scheme: :primary) do |button|
      button.with_leading_visual_icon(icon: :plus)
      "User"
    end
  end
%>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.44.0 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.43.1 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.43.0 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.42.0 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.41.1 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.41.0 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.40.0 previews/primer/open_project/page_header_preview/create_action.html.erb
openproject-primer_view_components-0.39.1 previews/primer/open_project/page_header_preview/create_action.html.erb