Commit 66e916bf09ee8adfc00dbb0dbec353cc7b7bb7ed

Authored by Karpikau Andrei
1 parent 04f46e4c

test forms

@@ -20,9 +20,7 @@ @@ -20,9 +20,7 @@
20 <div class="panel-body"> 20 <div class="panel-body">
21 <%= fields_for @obj do |form| %> 21 <%= fields_for @obj do |form| %>
22 <% @obj.page_content_markers.select{|item| item.row_item == @row_item}.each_with_index do |item, index| %> 22 <% @obj.page_content_markers.select{|item| item.row_item == @row_item}.each_with_index do |item, index| %>
23 - 2  
24 <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %> 23 <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %>
25 - 3  
26 <div class="form-group"> 24 <div class="form-group">
27 <%= form2.label :text_value, form2.object.marker, :class => "control-label" %> 25 <%= form2.label :text_value, form2.object.marker, :class => "control-label" %>
28 <% if form2.object.get_marker_type(@obj.type_content) == 'string' %> 26 <% if form2.object.get_marker_type(@obj.type_content) == 'string' %>
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.102" 2 + VERSION = "0.0.103"
3 end 3 end