Renders a link to the previous page.
Basic usage:
{{ html.goback }}
Usage with parameters:
{{ html.goback(Label, Icon Image, Attribute, Custom Redirect Link) }}
Parameters:
Label
(optional) – What will be written after the icon.Icon Image
(optional) – Icon Image that will appear before text/label.Attribute
(optional) – HTML options like: style, class, onchange etc.)Custom Redirect Link
(optional) – URL to redirect after processing the button click. Tip: user $get_listing_id keyword to get newly saved record id.
Example:
{{ html.goback("Click to go back to the previous page","","style='border:1px solid red;'") }}
Leave a Reply
You must be logged in to post a comment.