Sha256: 4cad8e0a993d32e4f455c3e1625d2df024793e5149f24d8e0a418a81d9d765a4

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

- fk = field.reflection.primary_key_name
.node
  .label= f.label fk
  .input
    = f.select fk, options_from_collection_for_select(field.reflection.klass.all, :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

3 entries across 3 versions & 1 rubygems

Version Path
bhf-0.1.6 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.1.5 app/views/bhf/entries/form/belongs_to/_select.haml
bhf-0.1.4 app/views/bhf/entries/form/belongs_to/_select.haml