Difference between revisions of "Template:Form-row"
From Earth Science Information Partners (ESIP)
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|}}}|<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> | + | {{#if: {{{label|}}}|<div class="col-12 col-md-3 text-md-right d-block d-md-flex my-2 justify-content-end align-self-center" style="{{{label-style|}}}">{{{label|}}}</div> |
}} | }} | ||
− | <div class="col-12 col-md-9 pl-1">{{{field|}}}</div> | + | <div class="col-12 col-md-9 my-2 pl-1">{{{field|}}}</div> |
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
A form row formatting template. | A form row formatting template. | ||
</noinclude> | </noinclude> |
Revision as of 14:06, July 18, 2020
A form row formatting template.