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

Added parameter to flashdata function for custom styles #204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

monxian
Copy link
Contributor

@monxian monxian commented Sep 15, 2024

Added parameter to flashdata function in flashdata_helpers file . When $custom parameter is set to true
it bypasses the default html rules of the function. It allows developers to create different flash message styles
inside the flash message itself.
$flash_msg = '<div class="alert alert-danger">Deleted </div>' as an example.
Different flash messages can be sent to the same page.
The parameter defaults to false so function works as normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant