#{extends 'main.html' /} #{set title:'Authentification' /} #{form @SecureController.authenticate(), class:'niceForm'}
#{if flash.error}
${flash.error}
#{/if} #{field 'username'} #{/} #{field 'password'} #{/}
#{/form} For testing there're 2 profiles : nicmarti/nicmarti and administrator/admin