Form:Opportunity: Difference between revisions
From MoHA Wiki
(Created page with "<noinclude> {{#forminput:form=Opportunity}} {{#ask: Category:Opportunities |format=table |class=smwtable-clean compact datatable display }} </noinclude><includeonly...") |
No edit summary |
||
Line 10: | Line 10: | ||
{{{for template|Opportunity}}} | {{{for template|Opportunity}}} | ||
<p>'''Opportunity Name: '''</p> | <p>'''Opportunity Name: '''</p> | ||
{{{field|Opportunity display name|input type=text}}} | {{{field|Opportunity display name|input type=text|class=form-control}}} | ||
<p>'''[[Property:Opportunity type|Opportunity type]] *: </p> | <p>'''[[Property:Opportunity type|Opportunity type]] *: </p> | ||
{{{field|Opportunity type|input type=tokens|property=Opportunity type|mandatory|list|delimiter=;}}} | {{{field|Opportunity type|input type=tokens|property=Opportunity type|mandatory|list|delimiter=;}}} | ||
<p>'''Opportunity description: '''</p> | <p>'''Opportunity description: '''</p> | ||
{{{field|Opportunity description|input type=textarea|autogrow}}} | {{{field|Opportunity description|input type=textarea|autogrow|class=form-control}}} | ||
<p>'''Opportunity dates: </p> | <p>'''Opportunity dates: </p> | ||
<div class="mb-3">Start {{{field|Opportunity start date|input type=datepicker}}} End {{{field|Opportunity end date|input type=datepicker}}} | <div class="mb-3">Start {{{field|Opportunity start date|input type=datepicker}}} End {{{field|Opportunity end date|input type=datepicker}}} | ||
</div> | </div> | ||
<p>'''Opportunity link: '''</p> | <p>'''Opportunity link: '''</p> | ||
{{{field|Opportunity link|input type=regexp|regexp=(\b(https?|ftp|file)://)?[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]}}} | {{{field|Opportunity link|input type=regexp|regexp=(\b(https?|ftp|file)://)?[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]|class=form-control}}} | ||
<p>'''Jurors: '''</p> | <p>'''Jurors: '''</p> | ||
{{{field|Jurors|input type=tokens|values from property=Person|list|delimiter=;}}} | {{{field|Jurors|input type=tokens|values from property=Person|list|delimiter=;}}} |