Skip to content

Commit

Permalink
update readme to include banner HTML customization
Browse files Browse the repository at this point in the history
  • Loading branch information
gabskoro committed Oct 2, 2020
1 parent cf95a39 commit e00e4d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e00e4d3

Please sign in to comment.