Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Commit e00e4d3

Browse files
committed
update readme to include banner HTML customization
1 parent cf95a39 commit e00e4d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ If you wish to customize the style of the div the classes are:
9898
.cookies-eu-link /* link */
9999
```
100100

101+
If you wish to customize the HTML, create a folder `cookies_eu`, create a partial `_consent_banner.html.erb` and paste the HTML from [here](app/views/cookies_eu/_consent_banner.html.erb)
102+
101103
## Cookies used
102104

103105
This gem uses a cookie called **cookie_eu_consented** to track whether a user has accepted the cookie notice and whether it needs to be shown again or not.

0 commit comments

Comments
 (0)