Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 687 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 687 Bytes

ROnin Form Library for Managing Application Objects

ROFLMAO 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>