#{extends 'main.html' /} #{set title: 'Nice Form' /} #{set 'moreScripts'} #{/set}

This page demonstrates the new HTML5 form features such as <input type=email...>

#{form @Application.create(), class:'niceForm'} #{ifErrors}

Unable to store the new Employee

#{errors}
  • ${error}
  • #{/errors}
    #{/ifErrors} #{if flash.success}
    ${flash.success}
    #{/if}
    Create a new employee:
    #{/form} #{set 'rightBar'}

    This page uses:

    #{/set}