Sha256: 7d8fc7aea0cb906a5bb3ab341041a7f60bccbe51c8327e2c88dfb26e9bf50e2e

Contents?: true

Size: 840 Bytes

Versions: 11

Compression:

Stored size: 840 Bytes

Contents

<div>
  <p class="fields">
    <%= f.label "Clause" %>
    <%= f.hidden_field :_destroy %>
    <%= link_to_function "remove", {:class => "remove_dependency_group", :onclick => "remove_fields_and_parent_fields(this)"} %>

    <table style='outline: 1px solid black;margin:5px;'>
      <tr>
        <th>Field</th>
        <th>Relationship</th>
        <th>Value</th>
        <th></th>
      </tr>
      <% obj.dependencies.each do |dependency| %>
        <%= f.fields_for :dependencies, dependency do |dependency_form| %>
          <%= render :partial => "dependency_fields", :locals => {:f => dependency_form, :obj => dependency} %>
        <% end %>
      <% end %>
      <tr>
        <td colspan='4'><%= df_link_to_add_fields "Add Rule", f, :dependencies, "add_fields_to_table" %></td>
      </tr>
    </table>
    AND<br />
  </p>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dynamic_fieldsets-0.1.20 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.19 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.18 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.17 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.16 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.15 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.14 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.13 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.12 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.11 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb
dynamic_fieldsets-0.1.10 app/views/dynamic_fieldsets/fieldset_children/_dependency_clause_fields.html.erb