Summary card example

With row actions

How it looks (preview)

Title

    key one
    value1
    key two
    value2

    How to call this example

    <%= render "govuk_publishing_components/components/summary_card", {
      title: "Title",
      rows: [
        {
          key: "key one",
          value: "value1",
          actions: [
            {
              label: "View",
              href: "#1"
            },
            {
              label: "Edit",
              href: "#2"
            }
          ]
        },
        {
          key: "key two",
          value: "value2",
          actions: [
            {
              label: "View",
              href: "#1"
            },
            {
              label: "Edit",
              href: "#2"
            }
          ]
        }
      ]
    } %>