Skip to content

Commit e6e10ff

Browse files
committed
Add filtering form
1 parent 706beae commit e6e10ff

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/views/projects/show.html.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<div class="container">
22
<h1 class="dashboard-title-report"><%= render "shared/project_title", project: @project %></h1>
33

4+
<div class="field">
5+
<%= label_tag 'title_contains', "Filter by title" %>
6+
<%= search_field_tag 'title_contains', nil, onkeyup: "filterStories()" %>
7+
</div>
48
<table class="project-table">
59
<thead class="table-header fixed-header">
610
<tr class="project-table__row project-table__row--header">

0 commit comments

Comments
 (0)