1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

Merge pull request #1676 from StanBoyet/patch-1

Add color field type to the documentation
This commit is contained in:
Felipe Renan 2019-10-10 17:15:57 +03:00 committed by GitHub
commit fe9e69945e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -561,6 +561,7 @@ Mapping | Generated HTML Element | Database Column Type
`password` | `input[type=password]` | `string` with `name =~ /password/`
`search` | `input[type=search]` | -
`uuid` | `input[type=text]` | `uuid`
`color` | `input[type=color]` | `string`
`text` | `textarea` | `text`
`hstore` | `textarea` | `hstore`
`json` | `textarea` | `json`