diff --git a/app/views/documents/_nested_documents.html.erb b/app/views/documents/_nested_documents.html.erb
index ecbe46ce7..04fd4e8a2 100644
--- a/app/views/documents/_nested_documents.html.erb
+++ b/app/views/documents/_nested_documents.html.erb
@@ -20,7 +20,4 @@
- <%= f.label :image, t("images.form.title") %>
-
<%= imageables_note(imageable) %>
+<%= f.label :image, t("images.form.title") %>
+
<%= imageables_note(imageable) %>
-
- <%= f.fields_for :image do |image_builder| %>
- <%= render 'images/image_fields', f: image_builder, imageable: imageable %>
- <% end %>
-
+
+ <%= f.fields_for :image do |image_builder| %>
+ <%= render 'images/image_fields', f: image_builder, imageable: imageable %>
+ <% end %>
<%= link_to_add_association t('images.form.add_new_image'), f, :image,
@@ -21,5 +19,3 @@
association_insertion_node: "#nested-image",
association_insertion_method: "append"
} %>
-
-