Difference between revisions of "Template:User form"

From cm2.liecourt.com
(Fill database)
(Fill database)
Line 38: Line 38:
 
}}
 
}}
  
{{Item responsive |Cols={{#var:@cols|4-8}}
+
<!--{{Item responsive |Cols={{#var:@cols|4-8}}
 
|1=<b>Roles</b>
 
|1=<b>Roles</b>
 
|2={{#arraydefine:@roles|{{{Roles|}}} }}
 
|2={{#arraydefine:@roles|{{{Roles|}}} }}
Line 60: Line 60:
 
{{#widget:Check input |type=radio |name=Volunteer |text=No |id=volunteerno |value=No|checked={{#ifeq:{{{Volunteer|}}}|Yes| |checked}} }}
 
{{#widget:Check input |type=radio |name=Volunteer |text=No |id=volunteerno |value=No|checked={{#ifeq:{{{Volunteer|}}}|Yes| |checked}} }}
 
</div>
 
</div>
}}
+
}}-->
  
 
{{#widget:link|text=Cancel|type=a|class=btn-red btn btn-half|id=profile-tab|datatoggle=tab|href=#info-tab|role=tab|aria-controls=info-tab|ariaselected=true}}{{#tag:wsfield||type=submit|value=Save|class=btn btn-green btn-half}}
 
{{#widget:link|text=Cancel|type=a|class=btn-red btn btn-half|id=profile-tab|datatoggle=tab|href=#info-tab|role=tab|aria-controls=info-tab|ariaselected=true}}{{#tag:wsfield||type=submit|value=Save|class=btn btn-green btn-half}}
 
</wsform></includeonly>
 
</wsform></includeonly>

Revision as of 10:23, 26 May 2020


This is the User form template. It should be called in the following format:

{{User form
|Name=
|Email=
|Volunteer=
|Roles=
|Be candidate=overrules role
}}