Sha256: 9477fe87e308005a7babe3d8dbd82687b165553dcf73b2195bac1ed3b508008d
Contents?: true
Size: 347 Bytes
Versions: 7
Compression:
Stored size: 347 Bytes
Contents
- data_source ||= field.reflection.klass.all - fk = field.reflection.primary_key_name .node .label= f.label fk, reflection_title(f, field) .input = f.select fk, options_from_collection_for_select(data_source, :id, :to_bhf_s, f.object.send(fk)), include_blank: true = render partial: 'bhf/helper/field_errors', locals: {f: f, field: fk}
Version data entries
7 entries across 7 versions & 1 rubygems