{% import "macros.html" as macros -%}

{# Filters -#}
{% macro filters(form, device = "desktop") -%}
  <div class="pt-3 md:pt-5 px-6">{% call filters_title(text = "Type and location") -%}</div>

  <div class="p-6 pb-4 md:pb-6 pt-3 flex flex-col space-y-5">
    {# Job type -#}
    <div>
      {% call filters_subtitle(text = "Job type") -%}
      <div class="grid grid-cols-2 w-full gap-2 mt-3">
        {# Full time -#}
        {% call checkbox(form = form, name = "kind[]", value = JobKind::FullTime, label = "