spec/layout/filter_buttons.cfm
2025-06-02 16:16:51 +03:00

8 lines
700 B
Plaintext

<!--- It is strongly recommended to keep this tag closed. Unclosed tag generates output into the variable ATTRIBUTES.output only, which may be confusing --->
<cfif thisTag.executionMode IS "end" OR NOT thisTag.hasEndTag>
<cfparam name="ATTRIBUTES.backUrl" type="string" default=""/>
<cfoutput>
<button type="submit" name="saveAndClose" class="maincontrol">#request.i18("Применить","Apply")#</button>
<button type="submit" name="resetAndClose" class="maincontrol">#request.i18("Снять","Reset")#</button>
<button type="button" name="close" onClick="document.location.href='#ATTRIBUTES.backUrl#'" class="maincontrol">#request.i18("Закрыть","Close")#</button></cfoutput>
</cfif>