Sha256: 14a9e20b75f7a039966f1a56bcad71ce1ec2aaf2dcca7c69f3af7e09dcfe2703
Contents?: true
Size: 271 Bytes
Versions: 3
Compression:
Stored size: 271 Bytes
Contents
= reflection_node f, field do - fk = field.reflection.primary_key_name %ul - field.reflection.klass.all.each do |obj| %li = f.radio_button fk, obj.id, :id => "belongs_to_#{fk}_#{obj.id}" = label_tag "belongs_to_#{fk}_#{obj.id}", obj.to_bhf_s
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bhf-0.1.6 | app/views/bhf/entries/form/belongs_to/_radio.haml |
bhf-0.1.5 | app/views/bhf/entries/form/belongs_to/_radio.haml |
bhf-0.1.4 | app/views/bhf/entries/form/belongs_to/_radio.haml |