<%= 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 %>
<%= link_to_add_association t('images.form.add_new_image'), f, :image, force_non_association_create: true, partial: "images/image_fields", id: "new_image_link", class: "button hollow #{"hide" if imageable.image.present?}", render_options: { locals: { imageable: imageable } }, data: { association_insertion_node: "#nested-image", association_insertion_method: "append" } %>