<#import "template.ftl" as layout> <@layout.registrationLayout bodyClass="oauth"; section> <#if section = "header"> <#if client.attributes.logoUri??>

<#if client.name?has_content> ${msg("oauthGrantTitle",advancedMsg(client.name))} <#else> ${msg("oauthGrantTitle",client.clientId)}

<#elseif section = "form">

${msg("oauthGrantRequest")}

<#if client.attributes.policyUri?? || client.attributes.tosUri??>

<#if client.name?has_content> ${msg("oauthGrantInformation",advancedMsg(client.name))} <#else> ${msg("oauthGrantInformation",client.clientId)} <#if client.attributes.tosUri??> ${msg("oauthGrantReview")} ${msg("oauthGrantTos")} <#if client.attributes.policyUri??> ${msg("oauthGrantReview")} ${msg("oauthGrantPolicy")}