1. Static Component Guide
  2. Govspeak content
  3. Address

Govspeak content example

Address

How to call this example

<%= render "govuk_component/govspeak" {
  content: "<div class=\"address\">
      <div class=\"adr org fn\">
        <p>
          First line of address
          <br>Second line of address
          <br>75 This street
          <br>United Kindom
          <br>Phone: 07123456789
          <br>
        </p>
      </div>
    </div>
    <p>Addresses are generated when using the `$A` markdown pattern.</p>
    "
} %>

How it looks

First line of address
Second line of address
75 This street
United Kindom
Phone: 07123456789

Addresses are generated when using the `$A` markdown pattern.