Difference between revisions of "Form:Portal"

From Earth Science Information Partners (ESIP)
m (1 revision imported: Portal help update)
 
(9 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
|values from property=Portal title
 
|values from property=Portal title
 
|remote autocompletion
 
|remote autocompletion
|class=form-control
+
|class=form-control mb-1
 
|mandatory
 
|mandatory
 
}}}
 
}}}
Line 21: Line 21:
 
|input type=dropdown
 
|input type=dropdown
 
|values from property=Committee
 
|values from property=Committee
|class=form-control
+
|class=form-control mb-1
 
}}}
 
}}}
 
}}
 
}}
Line 36: Line 36:
 
   |field={{{field
 
   |field={{{field
 
|Portal tagline
 
|Portal tagline
|class=form-control
+
|class=form-control my-1
 
}}}
 
}}}
 
}}
 
}}
Line 58: Line 58:
 
|delimiter=;
 
|delimiter=;
 
|max values=3
 
|max values=3
|class=form-control
+
|class=form-control my-1
 
}}}
 
}}}
 
}}
 
}}
Line 67: Line 67:
 
|Portal blocks
 
|Portal blocks
 
|input type=checkboxes
 
|input type=checkboxes
|values=Events, News, Resources
+
|values=News, Events, Resources, GoogleDocs
 
}}}
 
}}}
 
}}
 
}}
 
</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
 +
|list
 +
|delimiter=;
 +
|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
 +
|list
 +
|delimiter=;
 +
|class=form-control mt-1
 +
}}}
 +
}}
 +
{{form-row
 +
  |label={{#info: You can add many phone numbers. Use a semicolon as a delimiter. Allowed symbols are digits (10-11), hyphens and round brackets.<br>Valid patterns are:<br>
 +
+0 (000) 000-0000 <br>
 +
+0 000-000-0000 <br>
 +
000-000-0000<br>
 +
000 000 0000<br>
 +
0000000000<br>
 +
If the country code is not specified, "+1" (USA) is assumed.
 +
}} Phone
 +
  |field={{{field
 +
|Has phone
 +
|input type=regexp
 +
|regexp={{Tel regexp}}
 +
|list
 +
|delimiter=;
 +
|class=form-control
 +
|placeholder=000-000-0000
 +
}}}
 +
}}
 +
{{{end template}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{#formlink: form=Portal
 
{{#formlink: form=Portal

Latest revision as of 16:07, December 30, 2020