diff --git a/app/views/venues/show.html.erb b/app/views/venues/show.html.erb index 3fc6f2d..cc27b35 100644 --- a/app/views/venues/show.html.erb +++ b/app/views/venues/show.html.erb @@ -1,174 +1,107 @@ - - -
-
-
-
Name
-
<%= @venue.name %>
- -
Address
-
-
-
-
-
- -
Neighborhood
-
- <% if @venue.neighborhood.present? %> - - <%= @venue.neighborhood.name %> - - <% end %> -
- -
- - -
-
- - +
+
+
+
+

+ <%= @venue.name %> + + <% if @venue.neighborhood.present? %> + + <%= @venue.neighborhood.name %>, + <%= @venue.neighborhood.city %>, + <%= @venue.neighborhood.state %> + + <% end %> +

+
-
-
-
    -
  • - Bookmarks -
  • +
    +
    +
    - <% @venue.bookmarks.each do |bookmark| %> -
  • - - <%= bookmark.notes %> - - +
      +
    • + Dishes you loved here
    • - <% end %> -
    • -
      - - - - -
      - + <% @venue.bookmarks.where(:user_id => current_user.id).order(:created_at => :desc).each do |bookmark| %> +
    • +

      + + <%= bookmark.dish.name %> + + + + <%= time_ago_in_words(bookmark.created_at) %> ago + + + + + + + + + +

      + + <% if bookmark.notes.present? %> +

      + <%= bookmark.notes %> +

      + <% end %> +
    • + <% end %> - <%= select_tag(:dish_id, options_from_collection_for_select(Dish.all, :id, :name), :class => "form-control") %> -
      +
    • + + + - - - - + + - -
      - + +
      + - -
      + <%= select_tag(:dish_id, options_from_collection_for_select(Dish.all, :id, :name), :class => "form-control") %> +
      - -
    • -
    • -
    -
-
+ - - -
-
- -
-
- - -
-
-
- - <% end %> - + + <% end %> + + + +
- \ No newline at end of file +