Showing
2 changed files
with
4 additions
and
1 deletions
| ... | ... | @@ -20,6 +20,9 @@ |
| 20 | 20 | <div class="panel-body"> |
| 21 | 21 | <%= fields_for @obj do |form| %> |
| 22 | 22 | 1 |
| 23 | + <%= @obj.page_content_markers.count %> | |
| 24 | + <%= @row_item %> | |
| 25 | + <%= @obj.page_content_markers.where(:row_item => @row_item).count %> | |
| 23 | 26 | <% @obj.page_content_markers.where(:row_item => @row_item).order('id').each_with_index do |item, index| %> |
| 24 | 27 | 2 |
| 25 | 28 | <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %> | ... | ... |