mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-07-06 11:29:27 +02:00
8 lines
318 B
Scheme
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 %>
|