Skip to content

Commit

Permalink
Add a field holder template, placing the description and field messag…
Browse files Browse the repository at this point in the history
…e above the field itself. Editor fields can be long
  • Loading branch information
JamesDPC committed May 6, 2021
1 parent 7806dbd commit 7ae95c1
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div id="$HolderID" class="field<% if $extraClass %> $extraClass<% end_if %>">
<% if $Title %><label class="left" for="$ID">$Title</label><% end_if %>
<% if $Message %><span class="message $MessageType">$Message</p><% end_if %>
<% if $Description %><p class="description">$Description</p><% end_if %>
<div class="middleColumn">
$Field
</div>
<% if $RightTitle %><label class="right" for="$ID">$RightTitle</label><% end_if %>
</div>

0 comments on commit 7ae95c1

Please sign in to comment.