Package

Renders a package selector and returns a Package object.

Renders a select input from which a creator can choose a package from their company's listable packages.

Returns: A Package object.

Listable packages are packages that are not in a draft state.

Example

---
attributes:
  featured_package:
    type: package
    label: Featured package
---
{% if featured_package %}
  <div class="package-card">
    <h3>{{ featured_package.name }}</h3>
    <p>{{ featured_package.description }}</p>
    <a href="{{ featured_package.url }}">View package</a>
  </div>
{% endif %}

On this page