Sha256: c6550dc75ebb9b844a0a55f63f11a8b6e1834c44f217979d8817fa695a21b580
Contents?: true
Size: 441 Bytes
Versions: 26
Compression:
Stored size: 441 Bytes
Contents
- resource_class.attribute_names.delete_if { |name| Itsf::Backend.hidden_attributes_for[:edit].include?(name.to_sym) }.each do |name| - if form.object.class.columns_hash[name].type == :hstore = simple_fields_for name do |hstore_form| - if form.object.send(name).respond_to?(:each) - form.object.send(name).each do |key, value| = hstore_form.input key, input_html: { value: value } - else = form.input name
Version data entries
26 entries across 26 versions & 1 rubygems