silverstripe-framework/templates/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 %>