Actions card

The actions card component is a variation of the design from the summary card on GDS

Contents

<div class="govuk-grid-column-one-third">
      <div class="actions-list">
        <ul class="govuk-list actions-list-list">
          <span class="govuk-heading-m actions-list-header">Actions</span>
          
            <li><a class="govuk-link" href="calculate-release-dates/calculation-reason">Calculate release dates</a></li>
          
            <li><a class="govuk-link" href="calculate-release-dates/select-which-approved-dates">Enter an approved date</a></li>
          
        </ul>
      </div>
    </div>
{% from "hmpps/components/court-cases-release-dates/actions-card/macro.njk" import actionsCard %}
    
    {% set actions = [
        {
          href: 'calculate-release-dates/calculation-reason',
          title: 'Calculate release dates'
        },
        {
          href: 'calculate-release-dates/select-which-approved-dates',
          title: 'Enter an approved date'
        }
      ]
    %}
    
    {{ actionsCard(actions) }}