tmpl-cli
api
docs
env
git
hbs
html
Summaryhtml form [name]
husky
jest
lintstaged
lisp
node
prettier
python
react
readme
schema
style
util
vue
web

$ tmpl html form [name]

Adds a simple html form file.

Files

project
└─src
└──foo.html

foo.html

<form action="/handle-page" method="post">
<label for="first-name">First Name:</label>
<input type="text" id="first-name" name="first-name">
<label for="last-name">Last Name:</label>
<input type="text" id="last-name" name="last-name">
<label for="email">Email:</label>
<input type="text" id="email" name="email">
<label for="phone">Phone:</label>
<input type="text" id="phone" name="phone">
<textarea id="comments" name="comments"></textarea>
<label for="agree">Agree:</label>
<input id="agree" type="checkbox" />
</form>