update readme to include banner HTML customization

This commit is contained in:
Gabrijel Škoro 2020-10-02 22:52:50 +02:00
parent cf95a398b7
commit e00e4d39fa
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ If you wish to customize the style of the div the classes are:
.cookies-eu-link /* link */
```
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)
## Cookies used
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.