https://htmx.org logo
And then in the controller, the logic that handles...
# 🔥-django-htmx
m
And then in the controller, the logic that handles the
/search
url would look something like this:
Copy code
rb
  if request.headers['HX-Request']
    render "_search_results.html.erb" # render the partial
  else 
    render "index.html.erb" # render the whole UI w/ search results