mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 04:41:43 +00:00
permitir select unicos
This commit is contained in:
parent
07c937682b
commit
4e607bc4cf
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ class Post
|
|||
type = 'text'
|
||||
when tt == 'text'
|
||||
type = 'text_area'
|
||||
when tt.is_a?(String) && tt.split('/', 2).count == 2
|
||||
type = 'select'
|
||||
when tt.is_a?(Array)
|
||||
type = 'select'
|
||||
when tt.is_a?(FalseClass) || tt.is_a?(TrueClass)
|
||||
|
|
Loading…
Reference in a new issue