<div class="modal fade" id="search-filter" tabindex="-1" role="dialog" aria-labelledby="search-filter-label" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content border-0 rounded">
            <nav class="nav border-bottom p-3 flex-row justify-content-between align-items-center sticky-top bg-white rounded-top">
                <div id="search-filter-label" class="d-flex justify-content-between">
                    <h3 class=" m-0">Filtrera</h3>

                </div>
                <a href="#" class="d-block">Nollställ filter</a>
                <button type="button" class="border-0 bg-transparent cursor-pointer lh-0 p-2 nm-2" data-dismiss="modal" aria-controls="mobileMenu" aria-expanded="false" aria-label="Dölj meny">
          <span aria-hidden="true"><i class="fal fa-times fa-lg"></i></span>
        </button>
            </nav>
            <div class="p-3">
                <form action="" class="form">
                    <fieldset class="form-group">
                        <legend>Uppsatser/examensarbeten</legend>
                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter1-1-modal" name="uppsatser-examensarbeten" class="custom-control-input" value="value" checked>
                                <label class="custom-control-label" for="filter1-1-modal">Alla</label>
                            </div>
                        </div>

                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter1-2-modal" name="uppsatser-examensarbeten" class="custom-control-input" value="value">
                                <label class="custom-control-label" for="filter1-2-modal">Endast uppsatser/examensarbeten</label>
                            </div>
                        </div>

                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter1-3-modal" name="uppsatser-examensarbeten" class="custom-control-input" value="value">
                                <label class="custom-control-label" for="filter1-3-modal">Inga uppsatser/examensarbeten</label>
                            </div>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Dokumenttyp</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Tillgänglig som fulltext</legend>
                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter3-1-modal" name="fulltext" class="custom-control-input" value="value" checked>
                                <label class="custom-control-label" for="filter3-1-modal">Alla</label>
                            </div>
                        </div>

                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter3-2-modal" name="fulltext" class="custom-control-input" value="value">
                                <label class="custom-control-label" for="filter3-2-modal">Ja</label>
                            </div>
                        </div>

                        <div class=" mb-2">
                            <div class="custom-control custom-radio">
                                <input type="radio" id="filter3-3-modal" name="fulltext" class="custom-control-input" value="value">
                                <label class="custom-control-label" for="filter3-3-modal">Nej</label>
                            </div>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Ämne</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Språk</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Organisation</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Filtrera på typ</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <fieldset class="form-group">
                        <legend>Publiceringstyp</legend>
                        <div class="form-group">
                            <label class=" w-100">
    Select Label
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                        </div>

                    </fieldset>
                    <div class="mt-3 text-center">
                        <input type="submit" class="btn btn-primary" value="Tillämpa">

                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="d-lg-none text-center mb-5">
    <a class="btn btn-primary" href="#search-filter" data-toggle="modal" aria-controls="search-filter" aria-expanded="false" aria-label="Visa filter"> Fler filter</a>
</div>

<div class="bg-plaster-25 p-3 p-xl-5 d-none d-lg-block">
    <div class="row mb-3">
        <div class="col">
            <h4 class="mt-0">Filtrera</h4>
        </div>
        <div class="col text-right">
            <a href="#">Nollställ filter</a>
        </div>
    </div>
    <div class="row">
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Uppsatser/examensarbeten</legend>
                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter1-1" name="uppsatser-examensarbeten" class="custom-control-input" value="value" checked>
                        <label class="custom-control-label" for="filter1-1">Alla</label>
                    </div>
                </div>

                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter1-2" name="uppsatser-examensarbeten" class="custom-control-input" value="value">
                        <label class="custom-control-label" for="filter1-2">Endast uppsatser/examensarbeten</label>
                    </div>
                </div>

                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter1-3" name="uppsatser-examensarbeten" class="custom-control-input" value="value">
                        <label class="custom-control-label" for="filter1-3">Inga uppsatser/examensarbeten</label>
                    </div>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Dokumenttyp</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Tillgänglig som fulltext</legend>
                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter3-1" name="fulltext" class="custom-control-input" value="value" checked>
                        <label class="custom-control-label" for="filter3-1">Alla</label>
                    </div>
                </div>

                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter3-2" name="fulltext" class="custom-control-input" value="value">
                        <label class="custom-control-label" for="filter3-2">Ja</label>
                    </div>
                </div>

                <div class=" mb-2">
                    <div class="custom-control custom-radio">
                        <input type="radio" id="filter3-3" name="fulltext" class="custom-control-input" value="value">
                        <label class="custom-control-label" for="filter3-3">Nej</label>
                    </div>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Ämne</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Språk</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Organisation</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
        <div class="col-12 mb-5">
            <fieldset>
                <legend>Filtrera på typ</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
        <div class="col-12">
            <fieldset>
                <legend>Publiceringstyp</legend>
                <div class="form-group mb-0">
                    <label class=" w-100 mb-0">
    
    <select class="form-control custom-select" name="select">
        <option selected>Alla</option>
        <option>Second</option>
        <option>Third</option>
    </select>
  </label>
                </div>

            </fieldset>
        </div>
    </div>
</div>
<div class="modal fade" id="{{modal-id}}" tabindex="-1" role="dialog" aria-labelledby="{{modal-id}}-label" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content border-0 rounded">
      <nav class="nav border-bottom p-3 flex-row justify-content-between align-items-center sticky-top bg-white rounded-top">
        <div id="{{modal-id}}-label" class="d-flex justify-content-between">
          <h3 class=" m-0">{{title}}</h3>

        </div>
        <a href="#" class="d-block">Nollställ filter</a>
        <button type="button" class="border-0 bg-transparent cursor-pointer lh-0 p-2 nm-2" data-dismiss="modal" aria-controls="mobileMenu" aria-expanded="false" aria-label="Dölj meny">
          <span aria-hidden="true"><i class="fal fa-times fa-lg"></i></span>
        </button>
      </nav>
      <div class="p-3">
        <form action="" class="form">
          {{#each modal-filters}}
            <fieldset class="form-group">
              <legend>{{title}}</legend>
              {{#if checkbox}}
                {{#each checkbox.items}}
                  {{render "@form-checkbox--spaced" this merge=true}}
                {{/each}}
              {{/if}}
              {{#if radio}}
                {{#each radio.items}}
                  {{render "@form-radio--spaced" this merge=true}}
                {{/each}}
              {{/if}}
            {{#if select}}
              {{render "@form-select" select merge=true}}
            {{/if}}
            </fieldset>
          {{/each}}
          <div class="mt-3 text-center">
            {{render "@form-submit" modal-submit merge=true}}
          </div>
        </form>
      </div>
    </div>
  </div>
</div>

<div class="d-lg-none text-center mb-5">
  <a class="btn btn-primary" href="#{{modal-id}}" data-toggle="modal" aria-controls="{{modal-id}}" aria-expanded="false"
     aria-label="Visa filter"> Fler filter</a>
</div>

<div class="bg-plaster-25 p-3 p-xl-5 d-none d-lg-block">
  <div class="row mb-3">
    <div class="col">
      <h4 class="mt-0">{{title}}</h4>
    </div>
    <div class="col text-right">
      <a href="#">Nollställ filter</a>
    </div>
  </div>
  <div class="row">
    {{#each filters}}
      <div class="col-12{{#unless @last}} mb-5{{/unless}}">
        <fieldset>
          <legend>{{title}}</legend>
          {{#if checkbox}}
            {{#each checkbox.items}}
              {{render "@form-checkbox--spaced" this merge=true}}
            {{/each}}
          {{/if}}
          {{#if radio}}
            {{#each radio.items}}
              {{render "@form-radio--spaced" this merge=true}}
            {{/each}}
          {{/if}}
          {{#if select}}
            {{render "@form-select--tight" select merge=true}}
          {{/if}}
        </fieldset>
      </div>
    {{/each}}
  </div>
</div>
{
  "modal-id": "search-filter",
  "title": "Filtrera",
  "modal-submit": {
    "label": "Tillämpa"
  },
  "filters": [
    {
      "title": "Uppsatser/examensarbeten",
      "radio": {
        "items": [
          {
            "name": "uppsatser-examensarbeten",
            "label": "Alla",
            "id": "filter1-1",
            "checked": true
          },
          {
            "name": "uppsatser-examensarbeten",
            "label": "Endast uppsatser/examensarbeten",
            "id": "filter1-2"
          },
          {
            "name": "uppsatser-examensarbeten",
            "label": "Inga uppsatser/examensarbeten",
            "id": "filter1-3"
          }
        ]
      }
    },
    {
      "title": "Dokumenttyp",
      "select": {
        "id": "filter2",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Tillgänglig som fulltext",
      "radio": {
        "items": [
          {
            "name": "fulltext",
            "label": "Alla",
            "id": "filter3-1",
            "checked": true
          },
          {
            "name": "fulltext",
            "label": "Ja",
            "id": "filter3-2"
          },
          {
            "name": "fulltext",
            "label": "Nej",
            "id": "filter3-3"
          }
        ]
      }
    },
    {
      "title": "Ämne",
      "select": {
        "id": "filter4",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Språk",
      "select": {
        "id": "filter5",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Organisation",
      "select": {
        "id": "filter6",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Filtrera på typ",
      "select": {
        "id": "filter7",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Publiceringstyp",
      "select": {
        "id": "filter8",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    }
  ],
  "modal-filters": [
    {
      "title": "Uppsatser/examensarbeten",
      "radio": {
        "items": [
          {
            "name": "uppsatser-examensarbeten",
            "label": "Alla",
            "id": "filter1-1-modal",
            "checked": true
          },
          {
            "name": "uppsatser-examensarbeten",
            "label": "Endast uppsatser/examensarbeten",
            "id": "filter1-2-modal"
          },
          {
            "name": "uppsatser-examensarbeten",
            "label": "Inga uppsatser/examensarbeten",
            "id": "filter1-3-modal"
          }
        ]
      }
    },
    {
      "title": "Dokumenttyp",
      "select": {
        "id": "filter2-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Tillgänglig som fulltext",
      "radio": {
        "items": [
          {
            "name": "fulltext",
            "label": "Alla",
            "id": "filter3-1-modal",
            "checked": true
          },
          {
            "name": "fulltext",
            "label": "Ja",
            "id": "filter3-2-modal"
          },
          {
            "name": "fulltext",
            "label": "Nej",
            "id": "filter3-3-modal"
          }
        ]
      }
    },
    {
      "title": "Ämne",
      "select": {
        "id": "filter4-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Språk",
      "select": {
        "id": "filter5-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Organisation",
      "select": {
        "id": "filter6-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Filtrera på typ",
      "select": {
        "id": "filter7-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    },
    {
      "title": "Publiceringstyp",
      "select": {
        "id": "filter8-modal",
        "options": [
          {
            "label": "Alla"
          }
        ]
      }
    }
  ]
}

There are no notes for this item.