render an actual table in the readme

This commit is contained in:
Louis-Michel Couture 2017-06-19 16:57:06 -04:00 committed by GitHub
parent 5b43d10a08
commit 37fa78b949
1 changed files with 25 additions and 25 deletions

View File

@ -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/`