Form header

From Redazione
Jump to navigation Jump to search
Line 12: Line 12:
 
{{#var:default_path | }}
 
{{#var:default_path | }}
  
{{#switch: {{form}}   
+
{{#switch: {{{form}}}   
 
| Teacher = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Teachers/[First name] [Last name] }}  
 
| Teacher = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Teachers/[First name] [Last name] }}  
 
| Meeting = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Meetings/[Title] - [Date] [Last name] }}  
 
| Meeting = {{#vardefine:default_path| {{#ci_userAffiliatedTo:}}/Meetings/[Title] - [Date] [Last name] }}  
Line 24: Line 24:
 
     font-weight: bold;
 
     font-weight: bold;
 
"></html>
 
"></html>
{{#ifeq: {{PAGENAME}} | FormEdit/{{form}} |  
+
{{#ifeq: {{PAGENAME}} | FormEdit/{{{form}}} |  
 
The form will be created in the path  
 
The form will be created in the path  
 
<span style="background-color:#f5f5f5;color:blue">
 
<span style="background-color:#f5f5f5;color:blue">

Revision as of 07:25, 21 August 2020

This is the "Form header" template. It should be called in the following format:

{{Form header
|form=
}}

Edit the page to see the template text.