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

8 lines
183 B
Scheme
Raw Normal View History

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