Skip to content

Commit

Permalink
Reorder typemap.
Browse files Browse the repository at this point in the history
Group related types together.
  • Loading branch information
markstory committed Mar 15, 2017
1 parent 4777e2a commit d79f17b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/View/Helper/FormHelper.php
Expand Up @@ -85,19 +85,19 @@ class FormHelper extends Helper
'errorClass' => 'form-error',
'typeMap' => [
'string' => 'text',
'text' => 'textarea',
'uuid' => 'string',
'datetime' => 'datetime',
'boolean' => 'checkbox',
'timestamp' => 'datetime',
'text' => 'textarea',
'time' => 'time',
'date' => 'date',
'time' => 'time',
'boolean' => 'checkbox',
'float' => 'number',
'integer' => 'number',
'tinyinteger' => 'number',
'smallinteger' => 'number',
'decimal' => 'number',
'binary' => 'file',
'uuid' => 'string'
],
'templates' => [
'button' => '<button{{attrs}}>{{text}}</button>',
Expand Down

0 comments on commit d79f17b

Please sign in to comment.