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