Fix - type select & select2

Fix for type select & select2 to work.

```ruby
%h1= editable @model, :name, type: :select, source: [{value: 1, text: 'Hello'}, {value: 2, text: 'World'}]
```
and
```ruby
%h1= editable @model, :name, type: :select2, source: [{id: 1, text: 'Hello'}, {id: 2, text: 'World'}]
```