Difference between revisions of "Template:Form-row"

From Earth Science Information Partners (ESIP)
(Created page with "<includeonly><div class="d-flex flex-column flex-md-row {{{class|}}}"> {{#if: {{{label|}}} |<div class="col-12 col-md-3 text-md-right d-block d-md-flex justify-content-end a...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly><div class="d-flex flex-column flex-md-row {{{class|}}}">
 
<includeonly><div class="d-flex flex-column flex-md-row {{{class|}}}">
{{#if: {{{label|}}}
+
{{#if: {{{label|}}}|<div class="col-12 col-md-3 text-md-right d-block d-md-flex mb-1 justify-content-end align-self-center" style="{{{label-style|}}}">{{{label|}}}</div>
  |<div class="col-12 col-md-3 text-md-right d-block d-md-flex justify-content-end align-self-center" style="{{{label-style|}}}">
 
{{{label|}}}
 
  </div>
 
 
}}
 
}}
<div class="col-12 col-md-9 pl-1">
+
<div class="col-12 col-md-9 mb-1 pl-1">{{{field|}}}</div>
{{{field|}}}
 
</div>
 
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
A form row formatting template.
 
A form row formatting template.
 
</noinclude>
 
</noinclude>

Latest revision as of 14:47, July 18, 2020

A form row formatting template.