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.6.3 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.6.2 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.6.1 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.6.0 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.13 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.12 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.11 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.10 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.9 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.8 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.7 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.6 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.5 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.4 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.3 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.2 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.1 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.5.0 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.36 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.4.35 app/views/bhf/entries/form/belongs_to/_select.haml