Sha256: cd9f6c24211bbf00796fb34cdae6634642435fe471298390ab5c0ec84b855f06

Contents?: true

Size: 342 Bytes

Versions: 85

Compression:

Stored size: 342 Bytes

Contents

- data_source ||= field.reflection.klass.all
- fk = field.reflection.foreign_key
.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

85 entries across 85 versions & 1 rubygems

Version Path
bhf-0.4.34 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.33 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.32 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.31 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.30 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.25 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.24 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.23 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.22 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.21 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.20 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.19 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.18 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.17 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.16 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.15 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.14 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.13 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.12 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.11 app/views/bhf/entries/form/belongs_to/_select.haml