Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% (0...@room.images.count).each do |image| %>
- <div class="col-md-4">
- <%= link_to @room.images[image], target: '_blank' do %>
- <%= image_tag(@room.images[image], class: "img-responsive", style: "height: 200px; margin-top: 20px !important; width: 100%;") %>
- <% end %>
- </div>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement