<% if x%2 == 0 %>
<%= tenant.name %>
<%= raw(tenant.description) %>
<%= image_tag tenant.image('thumb'), class: "img-fluid" %>
<% tenant.galleries.each do |img| %>
<% end %>
<% else %>
<%= image_tag tenant.image('thumb'), class: "img-fluid" %>
<% tenant.galleries.each do |img| %>
<% end %>
<%= tenant.name %>
<%= raw(tenant.description) %>
<% end %>