mirror of
https://github.com/a2nt/silverstripe-webpack.git
synced 2024-10-22 17:05:31 +02:00
IMPR: Textarea Field placeholder
This commit is contained in:
parent
5ff57c0f59
commit
caeb433397
@ -0,0 +1,16 @@
|
|||||||
|
<div id="$Name" class="form__field field<% if $extraClass %> $extraClass<% end_if %>">
|
||||||
|
<% if $Title %><label class="field__label field__label-left left" for="$ID">$Title</label><% end_if %>
|
||||||
|
|
||||||
|
<div class="field__content middleColumn">
|
||||||
|
$Field
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<% if $Title && $RightTitle %>
|
||||||
|
<div class="field__label field__label-right right">$RightTitle</div>
|
||||||
|
<% else_if $RightTitle %>
|
||||||
|
<label class="field__label field__label-right right" for="$ID">$RightTitle</label>
|
||||||
|
<% end_if %>
|
||||||
|
|
||||||
|
<% if $Message %><span class="field__alert alert alert-{$MessageType} message $MessageType">$Message</span><% end_if %>
|
||||||
|
<% if $Description %><span class="field__description description">$Description</span><% end_if %>
|
||||||
|
</div>
|
@ -0,0 +1,4 @@
|
|||||||
|
<textarea $AttributesHTML
|
||||||
|
<% if $RightTitle %>aria-describedby="{$Name}_right_title"<% end_if %>
|
||||||
|
placeholder="<% if $Placeholder %>{$Placeholder}<% else %>{$Title}<% end_if %>"
|
||||||
|
>$Value</textarea>
|
Loading…
Reference in New Issue
Block a user