Difference between revisions of "Form:Portal"
From Earth Science Information Partners (ESIP)
Line 72: | Line 72: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | {{{field | ||
+ | |Members | ||
+ | |holds template | ||
+ | }}} | ||
{{{end template}}} | {{{end template}}} | ||
{{{standard input|save|class=mw-ui-button mw-ui-progressive}}} {{{standard input|preview|class=mw-ui-button}}} <span class="mw-ui-button mw-ui-quiet">{{{standard input|cancel}}}</span> | {{{standard input|save|class=mw-ui-button mw-ui-progressive}}} {{{standard input|preview|class=mw-ui-button}}} <span class="mw-ui-button mw-ui-quiet">{{{standard input|cancel}}}</span> | ||
+ | {{{for template|Member|multiple|embed in field=Portal[Members]|add button text=Add a member}}} | ||
+ | {{form-row | ||
+ | |label=Person | ||
+ | |field={{{field | ||
+ | |Member | ||
+ | |input type=tokens | ||
+ | |max values=1 | ||
+ | |values from category=People | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | }} | ||
+ | {{form-row | ||
+ | |label=Role | ||
+ | |field={{{field | ||
+ | |Role in committee | ||
+ | |input type=tokens | ||
+ | |values from property=Role in committee | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | }} | ||
+ | {{form-row | ||
+ | |label=Image | ||
+ | |field={{{field | ||
+ | |Member image | ||
+ | |input type=text | ||
+ | |uploadable | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | }} | ||
+ | {{form-row | ||
+ | |label=Email | ||
+ | |field={{{field | ||
+ | |Has email | ||
+ | |input type=tokens | ||
+ | |values from property=Has email | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | }} | ||
+ | {{form-row | ||
+ | |label=Phone | ||
+ | |field={{{field | ||
+ | |Has phone | ||
+ | |input type=tokens | ||
+ | |values from property=Has phone | ||
+ | |class=form-control | ||
+ | }}} | ||
+ | }} | ||
+ | {{{end template}}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{#formlink: form=Portal | {{#formlink: form=Portal |