render an actual table in the readme
This commit is contained in:
parent
5b43d10a08
commit
37fa78b949
|
@ -542,7 +542,7 @@ according to its database definition. These defaults can be changed by
|
|||
specifying the helper method in the column `Mapping` as the `as:` option.
|
||||
|
||||
Mapping | Generated HTML Element | Database Column Type
|
||||
--------------- |:-------------------------------------|:--------------------
|
||||
--------------- |--------------------------------------|---------------------
|
||||
`boolean` | `input[type=checkbox]` | `boolean`
|
||||
`string` | `input[type=text]` | `string`
|
||||
`email` | `input[type=email]` | `string` with `name =~ /email/`
|
||||
|
|
Loading…
Reference in New Issue