silverstripe-framework/templates/forms/ReadonlyField.ss
Damian Mooyman a809e80d01 API Convert CMS forms to bootstrap
NEW Add cms-forms microtheme to cater to bootstrap's needs.

Note that the old SS3 assets section is buggy as a result of this change.
2016-07-25 17:24:26 +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 %>