eduardofg87 / formautomator

Create HTML Forms Automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

formautomator

Create HTML Forms Automatically

JSON metadata

{
    "method": "POST",
    "action": "/addr",
    "fields": [
        {
            "name": "address",
            "label": "Address",
            "class": "form-control",
            "type": "text",
            "placeholder": "Sunset Blvd, 38"
        }
    ]
}

Usage examples

cat examples/example.json| go run cmd/fa/main.go -t ./templates
go run cmd/fa/main.go -f examples/example.json -t ./templates

About

Create HTML Forms Automatically

License:MIT License


Languages

Language:Go 63.1%Language:HTML 36.9%