silverstripe-framework/templates/SilverStripe/Forms/FormAction.ss

8 lines
196 B
Scheme

<% if $UseButtonTag %>
<button $AttributesHTML>
<% if $ButtonContent %>$ButtonContent<% else %><span>$Title.XML</span><% end_if %>
</button>
<% else %>
<input $AttributesHTML />
<% end_if %>