Module: ConstructorPages::FieldsHelper

Defined in:
app/helpers/constructor_pages/fields_helper.rb

Instance Method Summary collapse

Instance Method Details

#types_valueObject


5
6
7
8
9
10
11
12
13
14
15
16
# File 'app/helpers/constructor_pages/fields_helper.rb', line 5

def types_value
  [
      [t(:string), "string"],
      [t(:integer), "integer"],
      [t(:float), "float"],
      [t(:boolean), "boolean"],
      [t(:date), "date"],
      [t(:text), "text"],
      [t(:html), "html"],
      [t(:image), "image"]
  ]
end