Skip to content

Commit

Permalink
Allow users to navigate to specific day on events index
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankocienski committed Oct 2, 2024
1 parent 06bb356 commit 8c826e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/events/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@
- else
%h1 Events

= form_tag events_path, method: :get do
= text_field_tag 'day', '', placeholder: 'yyyy-mm-dd'
= submit_tag 'Show on day'

.events-listing= render_event_by_day_list(@event_instances)

0 comments on commit 8c826e5

Please sign in to comment.