Skip to content

Commit

Permalink
Add filtering form
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusdeap committed Dec 16, 2021
1 parent f28cc62 commit 7f38029
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<div class="container">
<h1 class="dashboard-title-report"><%= render "shared/project_title", project: @project %></h1>
<div class="field">
<%= label_tag 'title_contains', "Filter by title" %>
<%= search_field_tag 'title_contains', nil, onkeyup: "filterStories()" %>
</div>
<div id="stories-table">
<%= render partial: "projects/stories_table", locals: { project: @project, stories: @stories } %>
</div>
Expand Down

0 comments on commit 7f38029

Please sign in to comment.