silverstripe-framework/templates/forms/FormAction.ss

5 lines
105 B
Scheme

<% if UseButtonTag %>
<button $AttributesHTML></button>
<% else %>
<input $AttributesHTML>
<% end_if %>