diff options
Diffstat (limited to 'pages/Form/Form:Gathering.mw')
-rw-r--r-- | pages/Form/Form:Gathering.mw | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/pages/Form/Form:Gathering.mw b/pages/Form/Form:Gathering.mw new file mode 100644 index 0000000..01055f3 --- /dev/null +++ b/pages/Form/Form:Gathering.mw @@ -0,0 +1,76 @@ +<noinclude> +This is the "Gathering" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + +{{#forminput:form=Gathering|query string=namespace=Gathering|autocomplete on namespace=Gathering}} + + +</noinclude><includeonly> +<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> +{{{for template|Gathering}}} + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:info-type}}{{#info:{{int:rv-gathering:info-type:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:info-type|input type=dropdown|class=form-control}}}</div> +</div> + + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:description}}{{#info:{{int:rv-gathering:description:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:description|input type=textarea|class=form-control}}}</div> +</div> + + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:place-country}}{{#info:{{int:rv-gathering:place-country:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:place-country|class=form-control|input type=dropdown|mandatory|mapping using translate=rv-country-|feeds to p=gathering[gathering:place]}}}</div> +</div> + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:place-state}}{{#info:{{int:rv-gathering:place-state:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:place-state|input type=SF_Select|function=states:@@@@|sametemplate|field=gathering:place-country|class=form-control|feeds to map=gathering[gathering:place]}}}</div> +</div> + + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:place-city}}{{#info:{{int:rv-gathering:place-city:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:place-city|class=form-control|feeds to map=Gathering[gathering:place]}}}</div> +</div> + + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:place-street}}{{#info:{{int:rv-gathering:place-street:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:place-street|class=form-control|feeds to map=Gathering[gathering:place]}}}</div> +</div> + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:place}}{{#info:{{int:rv-gathering:place:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:place|input type=googlemaps|width=100%|class=form-control}}}</div> +</div> + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:info-start}}{{#info:{{int:rv-gathering:info-start:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:info-start|input type=datepicker|class=form-control|week start=1|highlight days of week=0|date format=dd-mm-yy}}}</div> +</div> + + +<div class="form-group row"> +<div class="col-sm-2 col-form-label">{{int:rv-gathering:info-end}}{{#info:{{int:rv-gathering:info-end:ayuda}}}}</div> +<div class="col-sm-10">{{{field|gathering:info-end|input type=datepicker|class=form-control|week start=1|highlight days of week=0|date format=dd-mm-yy}}}</div> +</div> + + +{{{end template}}} + +'''Free text:''' + +{{{standard input|free text|rows=10}}} + + +{{{standard input|summary}}} + +{{{standard input|minor edit}}} {{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} +</includeonly> |