+[% IF ( casAuthentication ) %]
+<h4>Cas login</h4>
+
+[% IF ( invalidCasLogin ) %]
+<!-- This is what is displayed if cas login has failed -->
+<p>Sorry, the CAS login failed.</p>
+[% END %]
+
+[% IF ( casServerUrl ) %]
+ <p><a href="[% casServerUrl %]">If you have a CAS account, please click here to login</a>.<p>
+[% END %]
+
+[% IF ( casServersLoop ) %]
+ <p>If you have a CAS account, please choose against which one you would like to authenticate:</p>
+<ul>
+ [% FOREACH casServer IN casServersLoop %]
+ <li><a href="[% casServer.value %]">[% casServer.name %]</a></li>
+ [% END %]
+[% END %]
+[% END %]
+
+[% IF ( nopermission ) %]
+ <p><a href="javascript:window.history.back()">[Previous page]</a>
+ <a href="/">[Main page]</a></p>
+[% END %]
+
+