PLACES

<%= render :partial => "shared/flash" %>

<%= link_to "Add new place", new_admin_place_path, class: "btn btn-primary" %>

<% @places.each_with_index do |place, x| %> <% end %>
# Image Name Description  
<%= @no+x+1 %> <%= image_tag place.get_image(:thumb), class: "img-fluid" %> <%= place.name %> <%= place.address %> <%= raw(place.description) %> <%= link_to "Edit", edit_admin_place_path(place.id, :page => params[:page]), :class => "btn btn-success" %> <%= link_to "Delete", admin_place_path(place.id, :page => params[:page] ), :method => :delete, data: {:confirm => "Are you sure?"}, :class => "btn btn-danger" %>