Commit 4cd8c877428a7846bd9f573706cd170f8a4bc106

Authored by Karpikau Andrei
1 parent 551629f4

test forms

@@ -20,6 +20,9 @@ @@ -20,6 +20,9 @@
20 <div class="panel-body"> 20 <div class="panel-body">
21 <%= fields_for @obj do |form| %> 21 <%= fields_for @obj do |form| %>
22 1 22 1
  23 + <%= @obj.page_content_markers.count %>
  24 + <%= @row_item %>
  25 + <%= @obj.page_content_markers.where(:row_item => @row_item).count %>
23 <% @obj.page_content_markers.where(:row_item => @row_item).order('id').each_with_index do |item, index| %> 26 <% @obj.page_content_markers.where(:row_item => @row_item).order('id').each_with_index do |item, index| %>
24 2 27 2
25 <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %> 28 <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %>
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.99" 2 + VERSION = "0.0.100"
3 end 3 end