Form:ModelForm: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:


== Socio-economic drivers ==
== Socio-economic drivers ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"
! Exogenous drivers:
| style="vertical-align:top;"|{{{field|ExogenousDriverOption|input type=listbox|size=7}}}
| style="vertical-align:top;"|{{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=textarea with autocomplete|rows=5|cols=40|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| style="vertical-align:top;"|{{{field|ExogenousDriverText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on exogenous Drivers }}}
|-
! Endogenous drivers<br/> (if any):
|style="vertical-align:top;" | No predefined options
|style="vertical-align:top;" | {{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=textarea with autocomplete|rows=5| cols=40| placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|style="vertical-align:top;" |{{{field|EndogenousDriverText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on endogenous Drivers }}}
|-
! Development: {{#info:some explanation on development concept can be put here}}
|style="vertical-align:top;" |{{{field|DevelopmentOption|input type=checkboxes}}}
| {{{field|Development|values from property=HasDevelopment|input type=textarea with autocomplete|rows=5|cols=40|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
| {{{field|DevelopmentText|input type= textarea|cols=40|rows=5|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}


==Alternative ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"  
{| class="formtable"  
Line 55: Line 36:
! Add  Exogenous drivers<br/> if any:
! Add  Exogenous drivers<br/> if any:
| {{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=tokens|cols=50|autogrow|placeholder=Press enter after each input }}}  
| {{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=tokens|cols=50|autogrow|placeholder=Press enter after each input }}}  
| {{{field|ExogenousDriverText|input type= textarea|rows=5|cols=50|autogrow|placeholder=If necessary, comment on exogenous Drivers }}}
| {{{field|ExogenousDriverText|input type= textarea|rows=5|autogrow|placeholder=If necessary, comment on exogenous Drivers }}}
|-
|-
! Endogenous drivers<br/> (if any):  
! Endogenous drivers<br/> (if any):  
|{{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=tokens|cols=50| autogrow|placeholder=Press enter after each input}}}  
|{{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=tokens|cols=50| autogrow|placeholder=Press enter after each input}}}  
|{{{field|EndogenousDriverText|input type= textarea|rows=5|cols=50|autogrow|placeholder=If necessary, comment on endogenous Drivers }}}
|{{{field|EndogenousDriverText|input type= textarea|rows=5|autogrow|placeholder=If necessary, comment on endogenous Drivers }}}
|-
|-
! Development: {{#info:some explanation on development concept can be put here}}
! Development: {{#info:some explanation on development concept can be put here}}
Line 66: Line 47:
! Add development <br/>if any
! Add development <br/>if any
| {{{field|Development|values from property=HasDevelopment|input type=tokens|cols=50|autogrow|placeholder=Press enter after each input}}}  
| {{{field|Development|values from property=HasDevelopment|input type=tokens|cols=50|autogrow|placeholder=Press enter after each input}}}  
| {{{field|DevelopmentText|input type=textarea|rows=5|cols=50|autogrow|placeholder=If necessary, comment on development }}}
| {{{field|DevelopmentText|input type=textarea|rows=5|autogrow|placeholder=If necessary, comment on development }}}
|}
|}
{{{end template}}}
{{{end template}}}


==Alternative 2 ==
{{{for template|Socio-economicTemplate|label=Socio economic drivers}}}
{| class="formtable"
! rowspan="3"| Exogenous drivers:
| {{{field|ExogenousDriverOption|input type=checkboxes}}}
|-
| {{{field|ExogenousDriver|values from property=HasExogenousDriver|input type=textarea with autocomplete|rows=3|cols=120|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|ExogenousDriverText|input type= textarea|rows=3|cols=120|autogrow|placeholder=comment on exogenous Drivers }}}
|-
! rowspan="2"| Endogenous drivers<br/> (if any):
|{{{field|EndogenousDriver|values from property=HasEndogenousDriver| input type=textarea with autocomplete|rows=3|cols=120| autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
|{{{field|EndogenousDriverText|input type= textarea|rows=3|cols=120|autogrow|placeholder=comment on endogenous Drivers }}}
|-
! rowspan="3"| Development: {{#info:some explanation on development concept can be put here}}
| {{{field|DevelopmentOption|input type=checkboxes}}}
|-
| {{{field|Development|values from property=HasDevelopment|input type=textarea with autocomplete|rows=3|cols=120|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|DevelopmentText|input type=textarea|rows=3|cols=120|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}


---------
---------
{{{standard input|save}}} {{{standard input|cancel}}}
{{{standard input|save}}} {{{standard input|cancel}}}
</includeonly>
</includeonly>

Revision as of 07:16, 19 August 2016

This is the "ModelForm" form. To create a page with this form, enter the page name below.

Auto completion is active for Model names ; if a page with that name already exists, you will be sent to a form to edit that page.