{{ html.button }} – Button

Renders form submit button.

Basic usage:

{{ html.button }}

Usage with parameters:

{{ html.button(Type, Button Label, Custom Redirect Link, CSS Class) }}

Parameters:

  1. Type (optional)
    • save – (Save)
    • saveandclose – (Save & Close)
    • saveascopy – (Save as Copy)
    • cancel – (Cancel)
    • delete – (Delete)
  2. Button Label (optional) – The label of the button.
  3. Custom Redirect Link (optional) – URL to redirect after processing the button click.
  4. CSS Class (optional) – Name or names of CSS class(s).

Example:

{{ html.button("save","Click here to save the form","","registerButton") }}


What are your feelings

Leave a Reply

Updated on January 9, 2025