Commit 551629f4a0af2ba1bbac10e3c156c1a3d0317005

Authored by Karpikau Andrei
1 parent a0131c40

test forms

... ... @@ -19,8 +19,11 @@
19 19 <div id="collapse-<%= @row_item %>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_<%= @row_item %>">
20 20 <div class="panel-body">
21 21 <%= fields_for @obj do |form| %>
  22 + 1
22 23 <% @obj.page_content_markers.where(:row_item => @row_item).order('id').each_with_index do |item, index| %>
  24 + 2
23 25 <%= form.fields_for :page_content_markers, item, child_index: (@current_row + index) do |form2| %>
  26 + 3
24 27 <div class="form-group">
25 28 <%= form2.label :text_value, form2.object.marker, :class => "control-label" %>
26 29 <% if form2.object.get_marker_type(@obj.type_content) == 'string' %>
... ...
1 1 module Kanjai
2   - VERSION = "0.0.98"
  2 + VERSION = "0.0.99"
3 3 end
... ...