Sha256: 1b1809e9f7e961fd1f46f31094490ef0535291a2cb18c96f5a0dc346f21b2d17
Contents?: true
Size: 643 Bytes
Versions: 3
Compression:
Stored size: 643 Bytes
Contents
<ol> <%= f.fields_for parent.attr_def_name do |builder| %> <% parent.attrDefChilds.each do |child| %> <li> <label><%= child.label %> :</label> <%= case child.dataType when "string" builder.text_field child.attr_def_name when "aChoice" if entity.attr_vals.find_by_attr_def_name(child.attr_def_name) != nil check = true end builder.check_box child.attr_def_name, :checked => check#, child.id else 'not yet implemented' end %> </li> <%end-%> <%end-%> </ol>
Version data entries
3 entries across 3 versions & 1 rubygems