Sha256: fdd7e3398918eb4de724e3f025c988ee47dfcf8076e23bcdb41c29e12370985d

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

<%=
if entity.attr_vals.find_by_attr_def_name(parent.id) != nil
  check_box_tag "attr_vals[#{parent.id}]",parent.id, :value => entity.attr_vals.find_by_attr_def_name(parent.id).value
else
  f.check_box parent.id
end
%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
databaseformalizer-1.0.1 app/views/databaseformalizer/entities/_attr_val_boolean_form.html.erb
databaseformalizer-1.0 app/views/databaseformalizer/entities/_attr_val_boolean_form.html.erb
databaseformalizer-0.3.0 app/views/databaseformalizer/entities/_attr_val_boolean_form.html.erb