Greetings.
There is a model (AR) - Photo. Fields id, user_id, imagem, description
.
It is necessary to display several models in the form (all photos that belong to the user) and make sure that the user fills in the description
all photos. Ideally, save the description
photo that the user has filled in, for the rest show the error.
Tell me, if you have thoughts, how can this be realized?