Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>Portfolio Items</h1>
- <%= link_to "Create New Item", new_portfolio_url %>
- <% @portfolio_items.each do |portfolio_item| %>
- <p><%= portfolio_item.title %></p>
- <p><%= portfolio_item.subtitle %></p>
- <p><%= portfolio_item.body %></p>
- <%= image_tag portfolio_item.thumbnail unless portfolio_item.thumbnail.nil? %>
- <%= link_to "Edit", edit_portfolio_path(portfolio_item.id) %>
- <% end %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement