silverstripe-framework/templates/SilverStripe/Forms/ReadonlyField.ss
2017-04-29 17:14:35 +12:00

7 lines
202 B
Scheme

<span id="$ID" <% if $extraClass %>class="$extraClass"<% end_if %>>
$Value
</span>
<% if $IncludeHiddenField %>
<input $getAttributesHTML("id", "type") id="hidden-{$ID}" type="hidden" />
<% end_if %>