Form:ModelForm: Difference between revisions

From IAMC-Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 68: Line 68:
{{{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=5|cols=50|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|ExogenousDriverText|input type= textarea|rows=5|cols=50|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=5|cols=50| autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
|{{{field|EndogenousDriverText|input type= textarea|rows=5|cols=50|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=5|cols=50|autogrow|placeholder=Add more drivers, if any. Separate drivers with ';'}}}
|-
| {{{field|DevelopmentText|input type=textarea|rows=5|cols=50|autogrow|placeholder=comment on development }}}
|}
{{{end template}}}


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

Revision as of 15:44, 18 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.