silverstripe-framework/templates/forms/FormField.ss
Ingo Schommer 6f9d01f621 API FormField->setDescription() visible in default template
Renders into <span class="description"> instead of "title" attribute
2012-12-14 01:58:04 +01:00

8 lines
157 B
Scheme

<% if isReadonly %>
<span id="$ID"<% if extraClass %> class="$extraClass"<% end_if %>>
$Value
</span>
<% else %>
<input $AttributesHTML />
<% end_if %>