diff --git a/Makefile b/Makefile index 671fefc..57bd194 100644 --- a/Makefile +++ b/Makefile @@ -81,9 +81,9 @@ show-versions: buildlocal goupdate: go get -t -u=patch ./... -cmd/%.go: templates/%.tpl +cmd/%.go: templates/%.html echo "package cmd" > cmd/$*.go echo >> cmd/$*.go echo "const formtemplate = \`" >> cmd/$*.go - cat templates/$*.tpl >> cmd/$*.go + cat templates/$*.html >> cmd/$*.go echo "\`" >> cmd/$*.go diff --git a/templates/formtemplate.html b/templates/formtemplate.html new file mode 100644 index 0000000..bdb7a22 --- /dev/null +++ b/templates/formtemplate.html @@ -0,0 +1,99 @@ + + + +
+ + + + + +