Sha256: 4030ed7d0dbdae60a52d8acd2bee26ca3192e6adf27481bacb36d2848e7d3d62

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

<div class="openListFields">
<% parent.attrDefChilds.each do |child| %>
  <%= f.fields_for parent.attr_def_name do |builder|%>
    <% id=0; entity.attr_vals.find_all_by_attr_def_name(child.attr_def_name).each do |attrValDefined| %>
      <%=  render("attr_val_openList_element_form", :f => builder, :attrVal => attrValDefined, :id => id, :parent => child) %>
      <% id=id+1 %>
    <%end%>
    <p><%= link_to_add_attrlistvalue "Add a #{child.id}(#{child.dataType})" ,builder,  child %></p>
  <%end-%>
<%end%>

</div>

Version data entries

3 entries across 3 versions & 1 rubygems

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