(Quick Reference)



This tag renders an HTML form.

It is a drop-in replacement for the Grails g:form tag, and supports all the attributes of this by passing them through. The actual UI Set that renders it may or may not delegate to g:form internally.

UI Sets and Themes can customize the rendering of the form to suit their HTML/CSS requirements.

See actions for the nested tag that allows you to demarcate the actions the user can perform in the form.


<ui:form controller="book">
  <p>This is my form</p>
  <ui:field name="comment" type="textarea"/>
  <ui:button type="submit">Save</ui:button>


All attributes are passed through to the UI template, on the assumption that all attributes of g:form are supported.