Form:Program: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 37: Line 37:
! Comment:
! Comment:
| {{{field|Resource comment|input type=textarea|rows=4}}}
| {{{field|Resource comment|input type=textarea|rows=4}}}
|}
{{{end template}}}
{{{for template|Related person|multiple|embed in field=Program[Related persons]|add button text=Person}}}
{| class="formtable"
|-
! Person
| {{{field|Person|input type=tokens|values from category=People|mandatory}}}
|-
! Role:
| {{{field|Person role|input type=tokens|values from property=Person role|max values=1}}}
|-
! Distinction:
| {{{field|Person distinction|input type=tokens|values from property=Person distinction|list|delimiter=;}}}
|-
! Position:
| {{{field|Person position|input type=tokens|values from property=Person position|max values=1}}}
|-
! Date Start:
| {{{field|Date start|input type=datepicker}}}
|-
! Date End:
| {{{field|Date start|input type=datepicker}}}
|-
| Date formatting:
! {{{field|Date format|property=Date format|default=Full date|input type=radiobutton|mandatory}}}
|-
! Comment:
| {{{field|Person comment|input type=textarea|rows=4}}}
|}
{{{end template}}}
{{{for template|Related organization|multiple|embed in field=Program[Related organizations]|add button text=Organization}}}
{| class="formtable"
|-
! Organization
| {{{field|Organization|input type=tokens|values from category=Organizations|mandatory}}}
|-
! Role:
| {{{field|Organization role|input type=tokens|values from property=Organization role|max values=1}}}
|-
! Date Start:
| {{{field|Date start|input type=datepicker}}}
|-
! Date End:
| {{{field|Date start|input type=datepicker}}}
|-
| Date formatting:
! {{{field|Date format|property=Date format|default=Full date|input type=radiobutton|mandatory}}}
|-
! Comment:
| {{{field|Organization comment|input type=textarea|rows=4}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 13:35, August 6, 2022