Simple_Form and Simple_Fields_For and working in Form_Tag, Fields_For

I have this form and i got it working as i want:

<%= form_tag(update_individual_photos_path, :method => “put”) do %>

<%= fields_for “photos[]”, @photo do |f| %>

<% end -%>
<%= submit_tag(“Post”) %>
<% end %>

But i would like to move to doing this with simple_form_for and
simple_fields_for but i cant get it working. Looks like
simple_fields_for cant work with “photos[]”, @photo ?

Is it possible to call Simple_Fields_For with the same syntax as
Fields_For ?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs