Skip to content

Commit

Permalink
フィルター機能を修正した
Browse files Browse the repository at this point in the history
  • Loading branch information
lef237 committed Feb 17, 2023
1 parent 741f82c commit 14e13e4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/views/reports/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ header.page-header

.page-body
.container.is-md
.page-filter.form
= form_with url: reports_path, local: true, method: 'get'
.form-item.is-inline-md-up
= label_tag :practice_id, 'プラクティスで絞り込む', class: 'a-form-label'
= select_tag :practice_id, options_from_collection_for_select(current_user.practices, :id, :title, selected: params[:practice_id]), include_blank: '全ての日報を表示', onchange: 'this.form.submit()', id: 'js-choices-single-select'

= react_component('Reports', all: true)
= react_component('Reports', all: true, practices: current_user.practices)

0 comments on commit 14e13e4

Please sign in to comment.