mirror of
https://github.com/kataras/iris.git
synced 2025-12-28 07:17:06 +00:00
reorganization of _examples and add some new examples such as iris+groupcache+mysql+docker
Former-commit-id: ed635ee95de7160cde11eaabc0c1dcb0e460a620
This commit is contained in:
@@ -160,7 +160,7 @@ func ParseForm(dataSiteKey, postActionRelativePath string) string {
|
||||
}
|
||||
|
||||
// RenderForm writes the `HTMLForm` to "w" response writer.
|
||||
// See `_examples/basic/register_form.html` example for a custom form instead.
|
||||
// See `_examples/auth/hcaptcha/templates/register_form.html` example for a custom form instead.
|
||||
func RenderForm(ctx context.Context, dataSiteKey, postActionRelativePath string) (int, error) {
|
||||
return ctx.HTML(ParseForm(dataSiteKey, postActionRelativePath))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user