The ROnin Forms Library for Managing Application Objects
Gosu
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/ronin_forms
test
README.md
pom.xml
ronin-forms.iml

README.md

Ronin Forms

ronin-forms makes it easy to create HTML forms within the Ronin web framework. It adds methods to the standard ronin.RoninTemplate, allowing you to quickly output a well-constructed form that is bound to a remote Ronin controller method:

  <html>
    <body>
      <% target = controller.Example#search() %>
      ${formFor(target)} <!-- create a form for the search() method -->
        Search Term: ${input(target.$term)} <!-- create an input bound to the 'term' parameter -->
        ${submit("Search")}
      ${endForm}
    </body>
  </html>