Address Drop
This drop is included on this page in with the variable name {{ drop_name }}.
Properties
- name
- Combines the class of the address (so far only Address) and the first line. Example: “Address 1234 Fake St”
- address_with_name
- Full output of address including newlines. Example: “Fake Name\n123 Fake St\nBothell, WA 98021\nUnited States” .
- id
- Address ID for use in forms.
- company
- Optional company name for the address.
- address1
- First line of the address.
- address2
- Second line of the address.
- city
- City of the address.
- state
- 2-letter State/Province code of the address.
- postal_code
- Postal code of the address.
- country
- 2-letter country code of the address.
- firstname
- First name of the person at the address.
- lastname
- Last name of the person at the address.
- email
- Email address of the person at the address.
- phone
- Phone number of the person at the address.
- label
- See name.
- to_s
- See address_with_name.