Add search for external users

This commit is contained in:
Sebastian Serth
2020-05-05 12:34:28 +02:00
parent 72498e21b1
commit 8e8404dffa
9 changed files with 44 additions and 13 deletions

View File

@@ -1,9 +1,11 @@
.card.card-body.bg-light
= search_form_for(@search, class: 'clearfix filter-form form-inline') do |f|
= yield(f)
.btn-group.ml-auto
button.btn.btn-primary type='submit' = t('shared.apply_filters')
button.btn.btn-primary.dropdown-toggle data-toggle='dropdown' type='button'
ul.dropdown-menu role='menu'
li
a.dropdown-item href=request.path = t('shared.reset_filters')
.card.card-body.bg-light.flex-row.container.row.mx-0
= search_form_for(@search, class: 'clearfix filter-form form-inline w-100') do |f|
.col-sm.p-0
= yield(f)
.col-sm-auto.p-0
.btn-group.ml-auto
button.btn.btn-primary type='submit' = t('shared.apply_filters')
button.btn.btn-primary.dropdown-toggle data-toggle='dropdown' type='button'
ul.dropdown-menu role='menu'
li
a.dropdown-item href=request.path = t('shared.reset_filters')