Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add seach component to all other pages #105

Merged
merged 6 commits into from
Sep 7, 2023

Commits on Sep 7, 2023

  1. Refactor Search Form with SearchComponent

    This commit replaces the search form in `app/views/tags/index.html.erb` with the SearchComponent. The SearchComponent encapsulates the search form logic, making the code more readable and easier to change. It also takes care of HTML escaping the search_term, improving security. The form is now rendered inside a `<div>` instead of a `<span>` to follow HTML best practices.
    lucianghinda committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    ebed20a View commit details
    Browse the repository at this point in the history
  2. Refactor Search Form in Courses with SearchComponent

    Description:
    This commit replaces the search form in `app/views/courses/index.html.erb`  with the SearchComponent. The SearchComponent encapsulates the search form logic, making the code more readable and easier to change. It also takes care of HTML escaping the search_term, improving security. The form is now rendered inside a <div> instead of a <span> to follow HTML best practices.
    lucianghinda committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    cb51d3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c74164 View commit details
    Browse the repository at this point in the history
  4. Refactor Search Form in YouTube courses with SearchComponent

    Description:
    This commit replaces the search form in app/views/youtubes/index.html.erb with the SearchComponent. The SearchComponent encapsulates the search form logic, making the code more readable and easier to change. It also takes care of HTML escaping the search_term, improving security. The form is now rendered inside a <div> instead of a <span> to follow HTML best practices.
    lucianghinda committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    48ccef6 View commit details
    Browse the repository at this point in the history
  5. Refactor Search Form in Screncasts with SearchComponent

    Description:
    This commit replaces the search form in app/views/screencasts/index.html.erb with the SearchComponent. The SearchComponent encapsulates the search form logic, making the code more readable and easier to change. It also takes care of HTML escaping the search_term, improving security. The form is now rendered inside a <div> instead of a <span> to follow HTML best practices.
    lucianghinda committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    3c05cde View commit details
    Browse the repository at this point in the history
  6. Refactor Search Form in Newsletters with SearchComponent

    Description:
    This commit replaces the search form in app/views/newsletters/index.html.erb with the SearchComponent. The SearchComponent encapsulates the search form logic, making the code more readable and easier to change. It also takes care of HTML escaping the search_term, improving security. The form is now rendered inside a <div> instead of a <span> to follow HTML best practices.
    lucianghinda committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    9d06d45 View commit details
    Browse the repository at this point in the history