mirror of
https://github.com/kataras/iris.git
synced 2025-12-26 14:27:04 +00:00
Add some _examples in the main repository too.
Former-commit-id: 98895c34115ec2076b431332f0ffe9645adf7590
This commit is contained in:
14
_examples/examples/forms/mytemplates/forms.html
Normal file
14
_examples/examples/forms/mytemplates/forms.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{if .Success}}
|
||||
<h1>Thanks for your message!</h1>
|
||||
{{else}}
|
||||
<h1>Contact</h1>
|
||||
<form method="POST">
|
||||
<label>Email:</label><br />
|
||||
<input type="text" name="email"><br />
|
||||
<label>Subject:</label><br />
|
||||
<input type="text" name="subject"><br />
|
||||
<label>Message:</label><br />
|
||||
<textarea name="message"></textarea><br />
|
||||
<input type="submit">
|
||||
</form>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user