I have in my Rails application the following code:
.col-md-6
h2.h2-move Imagem
hr
.col-md-6
h2 Lista
hr
= render 'listings/list_of_listing', listings: @listings, message: 'Você não gerencia anúncios no momento.', load_more_path: request.path, admin: true, no_favorite: true
= render 'listings/list_with_pagination', listings: @listings, message: 'Você não gerencia anúncios no momento.', load_more_path: request.path, admin: true, no_favorite: true
2 renders being called, but I want to show only one, and when I click on h2 the code shows the other render. That is when one is sample the other is hidden