silverstripe-framework/admin/themes/cms-forms/templates/SilverStripe/Forms/FormAction.ss
Damian Mooyman 5a59c4f4b4 API Add bootstrap button row template
API Add bootstrap button template
BUG fix draft / published preview selector
2016-09-21 15:59:12 +12:00

8 lines
318 B
Scheme

<% if $UseButtonTag %>
<button $getAttributesHTML('class') class="btn<% if $extraClass %> $extraClass<% end_if %>">
<% if $ButtonContent %>$ButtonContent<% else %>$Title.XML<% end_if %>
</button>
<% else %>
<input $getAttributesHTML('class') class="btn<% if $extraClass %> $extraClass<% end_if %>"/>
<% end_if %>