Sha256: 0ef8ed03766088284dcd90ae01ed5dbd37b43e45677d7abc0e9c904604da8e1a
Contents?: true
Size: 272 Bytes
Versions: 5
Compression:
Stored size: 272 Bytes
Contents
require "simple_form/inputs/base" class TokenInput < SimpleForm::Inputs::Base # # one: # <%= f.input :category_id, :as => :token %> # # many: # <%= f.input :category_ids, :as => :token %> def input @builder.token_field(attribute_name, options) end end
Version data entries
5 entries across 5 versions & 1 rubygems