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

7 lines
202 B
Scheme
Raw Normal View History

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