mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
3b3b515571
BUGFIX Remove legacy code and template which is never picked-up so that TextareaField becomes 'readonly' when it is transfered to readonly field. Change TextareaFieldTest test cases to address a 'readonly' textarea field displaying the special html characters correctly.
6 lines
150 B
Scheme
6 lines
150 B
Scheme
<% if isReadonly %>
|
|
<span id="$ID"<% if extraClass %> class="$extraClass"<% end_if %>>$Value</span>
|
|
<% else %>
|
|
<input $AttributesHTML>
|
|
<% end_if %>
|