Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <li>
- <div class="fiximage"><%= image_tag photo.picture.url(:small), :cache => false, :title => photo.title %>
- </div>
- <div class="details">
- <span class="location"><%= photo.place %>Hello Hyderabad, India.Hello Hyderabad, India.</span><br />
- <span class="location"><%= time_ago_in_words(photo.updated_at, include_seconds = true) + " ago" %></span>
- </div>
- <h5><%= link_to 'Edit', edit_photo_path(photo) %> | <%= link_to 'Destroy', photo, :confirm => 'Are you sure?', :method => 'DELETE' %></h5>
- </li>
- <script>
- $(function(){
- $("img[title]").tooltip({offset: [100,0]});
- });
- </script>
Add Comment
Please, Sign In to add comment