Difference between revisions of "Form:Building"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 183: Line 183:
 
  |placeholder={{CURRENTYEAR}}
 
  |placeholder={{CURRENTYEAR}}
 
}}}
 
}}}
 +
}}
 +
{{{end template}}}
 +
{{{for template|Address|multiple|embed in field=Building[Addresses]|add button text=+ Address}}}
 +
{{form row
 +
|label=Primary address
 +
|field={{{field
 +
|Is primary
 +
|input type=checkbox
 +
|label=Is primary
 +
|class=mr-2
 +
|default=Yes
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Number
 +
|field={{{field
 +
|Building number
 +
|input type=text
 +
|placeholder=0
 +
|feeds to map=Building[Coordinates]
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Street
 +
|field={{{field
 +
|Street
 +
|input type=text
 +
|placeholder=Street ...
 +
|feeds to map=Building[Coordinates]
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=City
 +
|field={{{field
 +
|City
 +
|input type=text
 +
|placeholder=City ...
 +
|feeds to map=Building[Coordinates]
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Township
 +
|field={{{field
 +
|Township
 +
|input type=text
 +
|placeholder=Township ...
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=State
 +
|field={{{field
 +
|State
 +
|input type=text
 +
|placeholder=State ...
 +
|feeds to map=Building[Coordinates]
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Zip
 +
|field={{{field
 +
|Zipcode
 +
|input type=text
 +
|placeholder=Zipcode ...
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Country
 +
|field={{{field
 +
|Country
 +
|input type=text
 +
|placeholder=Country ...
 +
|default=United States of America
 +
|feeds to map=Building[Coordinates]
 +
}}}
 +
|class=mb-1
 +
}}
 +
{{form row
 +
|label=Coordinates
 +
|field={{{field
 +
|Coordinates
 +
|input type=leaflet
 +
|starting bounds=40.83;-81.89
 +
}}}
 +
|class=mb-1
 +
|label-valign=start
 
}}
 
}}
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly>
 
</includeonly>

Revision as of 16:21, 27 March 2022