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...")
 
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 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 pl-1">{{{field|}}}</div>
{{{field|}}}
 
</div>
 
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
 
A form row formatting template.
 
A form row formatting template.
 
</noinclude>
 
</noinclude>

Revision as of 14:03, July 18, 2020

A form row formatting template.