Allow custom function comments in specs

This commit is contained in:
2019-05-14 21:15:18 -06:00
parent e6b8f04dcf
commit f80148fdf6
5 changed files with 35 additions and 12 deletions

View File

@ -6,7 +6,7 @@ package attribute
import "gitlab.codemonkeysoftware.net/b/hatmill"
import "strconv"
// Accept creates a "accept" attribute
// Accept sets the content types or file types allowed in a form or file input.
func Accept(value string) hatmill.Attrib {
return hatmill.Attrib{
Key: "accept",