Back to Frontend

Thank you! We've got your preferences

identity/app/views/completeConsents.scala.html

latest1.6 KB
Original Source

@import services.EmailPrefsData @import services.newsletters.model.NewsletterResponse @( idRequest: services.IdentityRequest, idUrlBuilder: services.IdentityUrlBuilder, returnUrl: String, email: String, emailPrefsForm: Form[EmailPrefsData], emailSubscriptions: List[String], availableLists: List[NewsletterResponse], )(implicit request: RequestHeader, messages: play.api.i18n.Messages) @import common.LinkTo @import form.IdFormHelpers._ @import views.html.fragments.form.inputField @import views.html.fragments.registrationFooter @buildIdentityUrl(endpoint: String) = { @idUrlBuilder.buildUrl(s"/$endpoint", idRequest) }

Thank you! We've got your preferences

You can change these anytime by going to My account > Email Preferences.

@if(!emailPrefsForm.globalError) { @views.html.helper.CSRF.formField

Before you go...

Did you know that we have more than 40 different email newsletters that focus on a range of diverse topics - from politics and the latest tech to documentaries, sport and scientific breakthroughs.

Why not take a few seconds to see whether there is anything here for you?

@fragments.emailListCategories(emailPrefsForm, availableLists, emailSubscriptions)(request, messages)

The Guardian's newsletters include content from our website, which may be funded by outside parties. Newsletters may also display information about Guardian News and Media's other products, services or events (such as Guardian Jobs or Masterclasses), chosen charities or online advertisements.

}