- Implement Stimulus controller for closing flash messages - Replace inline alerts with a partial for better organization - Enhance styling for user registration and login forms This update introduces a new flash message component that allows for user notifications to be displayed on the screen and closed by the user. The forms also include improved styles for a better user experience.
13 lines
597 B
JavaScript
13 lines
597 B
JavaScript
// This file is auto-generated by ./bin/rails stimulus:manifest:update
|
|
// Run that command whenever you add a new controller or create them with
|
|
// ./bin/rails generate stimulus controllerName
|
|
|
|
import { application } from "./application"
|
|
import HelloController from "./hello_controller"
|
|
import PhotoSwipeLightBoxController from "./photo_swipe_lightbox_controller"
|
|
import FlashMessageController from "./flash_controller"
|
|
|
|
application.register("hello", HelloController)
|
|
application.register("photo-swipe-lightbox", PhotoSwipeLightBoxController)
|
|
application.register("flash", FlashMessageController)
|