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

7 lines
202 B
Scheme
Raw Normal View History

2017-04-29 07:14:35 +02:00
<span id="$ID" <% if $extraClass %>class="$extraClass"<% end_if %>>
$Value
</span>
<% if $IncludeHiddenField %>
<input $getAttributesHTML("id", "type") id="hidden-{$ID}" type="hidden" />
<% end_if %>