Skip to content
Snippets Groups Projects
Commit 532439b8 authored by Kapil Patel's avatar Kapil Patel
Browse files

added missing code

parent a8847d82
No related branches found
No related tags found
2 merge requests!162Test 0.3.7 b,!138Draft: Added conditional validation for complex relations
Pipeline #6700 failed
......@@ -16,7 +16,7 @@ protected
field_name = name_for(attribute_name, index, field, parent)
field_id = id_for(attribute_name, index, field, parent)
field_value = value.send(field).first
out << "<div class='complex_relation_section'>"
out << "<div class='row'>"
out << " <div class='col-md-3'>"
out << template.label_tag(field_name, 'Title', required: required)
......@@ -89,7 +89,8 @@ protected
out << destroy_widget(attribute_name, index, field_label, parent)
out << ' </div>'
out << '</div>' # last row
out << '</div>'
out << '</div>'
out
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment