ivanzotov/constructor

View on GitHub
pages/app/helpers/constructor_pages/fields_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ConstructorPages
  module FieldsHelper
    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
  end
end