Allow custom function comments in specs
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user